mirror of
https://github.com/frappe/books.git
synced 2024-11-10 07:40:55 +00:00
95 lines
1.9 KiB
JSON
95 lines
1.9 KiB
JSON
|
{
|
||
|
"name": "Address",
|
||
|
"doctype": "DocType",
|
||
|
"regional": 1,
|
||
|
"isSingle": false,
|
||
|
"keywordFields": [
|
||
|
"addressLine1",
|
||
|
"addressLine2",
|
||
|
"city",
|
||
|
"state",
|
||
|
"country",
|
||
|
"postalCode"
|
||
|
],
|
||
|
"fields": [
|
||
|
{
|
||
|
"fieldname": "addressLine1",
|
||
|
"label": "Address Line 1",
|
||
|
"placeholder": "Address Line 1",
|
||
|
"fieldtype": "Data",
|
||
|
"required": true
|
||
|
},
|
||
|
{
|
||
|
"fieldname": "addressLine2",
|
||
|
"label": "Address Line 2",
|
||
|
"placeholder": "Address Line 2",
|
||
|
"fieldtype": "Data"
|
||
|
},
|
||
|
{
|
||
|
"fieldname": "city",
|
||
|
"label": "City / Town",
|
||
|
"placeholder": "City / Town",
|
||
|
"fieldtype": "Data",
|
||
|
"required": true
|
||
|
},
|
||
|
{
|
||
|
"fieldname": "state",
|
||
|
"label": "State",
|
||
|
"placeholder": "State",
|
||
|
"fieldtype": "AutoComplete"
|
||
|
},
|
||
|
{
|
||
|
"fieldname": "country",
|
||
|
"label": "Country",
|
||
|
"placeholder": "Country",
|
||
|
"fieldtype": "AutoComplete",
|
||
|
"required": true
|
||
|
},
|
||
|
{
|
||
|
"fieldname": "postalCode",
|
||
|
"label": "Postal Code",
|
||
|
"placeholder": "Postal Code",
|
||
|
"fieldtype": "Data"
|
||
|
},
|
||
|
{
|
||
|
"fieldname": "emailAddress",
|
||
|
"label": "Email Address",
|
||
|
"placeholder": "Email Address",
|
||
|
"fieldtype": "Data"
|
||
|
},
|
||
|
{
|
||
|
"fieldname": "phone",
|
||
|
"label": "Phone",
|
||
|
"placeholder": "Phone",
|
||
|
"fieldtype": "Data"
|
||
|
},
|
||
|
{
|
||
|
"fieldname": "fax",
|
||
|
"label": "Fax",
|
||
|
"fieldtype": "Data"
|
||
|
},
|
||
|
{
|
||
|
"fieldname": "addressDisplay",
|
||
|
"fieldtype": "Text",
|
||
|
"label": "Address Display",
|
||
|
"readOnly": true
|
||
|
},
|
||
|
{
|
||
|
"fieldname": "pos",
|
||
|
"label": "Place of Supply",
|
||
|
"fieldtype": "AutoComplete",
|
||
|
"placeholder": "Place of Supply"
|
||
|
}
|
||
|
],
|
||
|
"quickEditFields": [
|
||
|
"addressLine1",
|
||
|
"addressLine2",
|
||
|
"city",
|
||
|
"state",
|
||
|
"country",
|
||
|
"postalCode",
|
||
|
"pos"
|
||
|
],
|
||
|
"inlineEditDisplayField": "addressDisplay",
|
||
|
"augmented": 1
|
||
|
}
|