133 lines
2.6 KiB
JSON
133 lines
2.6 KiB
JSON
|
{
|
||
|
"allow_comments": 0,
|
||
|
"allow_delete": 0,
|
||
|
"allow_edit": 1,
|
||
|
"allow_multiple": 1,
|
||
|
"creation": "2016-06-24 15:50:33.196990",
|
||
|
"doc_type": "Address",
|
||
|
"docstatus": 0,
|
||
|
"doctype": "Web Form",
|
||
|
"idx": 0,
|
||
|
"is_standard": 1,
|
||
|
"login_required": 1,
|
||
|
"modified": "2016-06-24 16:11:28.802353",
|
||
|
"modified_by": "Administrator",
|
||
|
"module": "Utilities",
|
||
|
"name": "addresses",
|
||
|
"owner": "Administrator",
|
||
|
"published": 1,
|
||
|
"route": "address",
|
||
|
"success_url": "/addresses",
|
||
|
"title": "Address",
|
||
|
"web_form_fields": [
|
||
|
{
|
||
|
"description": "",
|
||
|
"fieldname": "address_title",
|
||
|
"fieldtype": "Data",
|
||
|
"hidden": 0,
|
||
|
"label": "Address Title",
|
||
|
"read_only": 0,
|
||
|
"reqd": 0
|
||
|
},
|
||
|
{
|
||
|
"fieldname": "address_type",
|
||
|
"fieldtype": "Select",
|
||
|
"hidden": 0,
|
||
|
"label": "Address Type",
|
||
|
"options": "Billing\nShipping\nOffice\nPersonal\nPlant\nPostal\nShop\nSubsidiary\nWarehouse\nOther",
|
||
|
"read_only": 0,
|
||
|
"reqd": 1
|
||
|
},
|
||
|
{
|
||
|
"fieldname": "address_line1",
|
||
|
"fieldtype": "Data",
|
||
|
"hidden": 0,
|
||
|
"label": "Address Line 1",
|
||
|
"read_only": 0,
|
||
|
"reqd": 1
|
||
|
},
|
||
|
{
|
||
|
"fieldname": "address_line2",
|
||
|
"fieldtype": "Data",
|
||
|
"hidden": 0,
|
||
|
"label": "Address Line 2",
|
||
|
"read_only": 0,
|
||
|
"reqd": 0
|
||
|
},
|
||
|
{
|
||
|
"fieldname": "city",
|
||
|
"fieldtype": "Data",
|
||
|
"hidden": 0,
|
||
|
"label": "City/Town",
|
||
|
"read_only": 0,
|
||
|
"reqd": 1
|
||
|
},
|
||
|
{
|
||
|
"fieldname": "state",
|
||
|
"fieldtype": "Data",
|
||
|
"hidden": 0,
|
||
|
"label": "State",
|
||
|
"read_only": 0,
|
||
|
"reqd": 0
|
||
|
},
|
||
|
{
|
||
|
"fieldname": "pincode",
|
||
|
"fieldtype": "Data",
|
||
|
"hidden": 0,
|
||
|
"label": "Postal Code",
|
||
|
"read_only": 0,
|
||
|
"reqd": 0
|
||
|
},
|
||
|
{
|
||
|
"fieldname": "country",
|
||
|
"fieldtype": "Link",
|
||
|
"hidden": 0,
|
||
|
"label": "Country",
|
||
|
"options": "Country",
|
||
|
"read_only": 0,
|
||
|
"reqd": 1
|
||
|
},
|
||
|
{
|
||
|
"fieldtype": "Column Break",
|
||
|
"hidden": 0,
|
||
|
"read_only": 0,
|
||
|
"reqd": 0
|
||
|
},
|
||
|
{
|
||
|
"fieldname": "email_id",
|
||
|
"fieldtype": "Data",
|
||
|
"hidden": 0,
|
||
|
"label": "Email Id",
|
||
|
"read_only": 0,
|
||
|
"reqd": 0
|
||
|
},
|
||
|
{
|
||
|
"fieldname": "phone",
|
||
|
"fieldtype": "Data",
|
||
|
"hidden": 0,
|
||
|
"label": "Phone",
|
||
|
"read_only": 0,
|
||
|
"reqd": 1
|
||
|
},
|
||
|
{
|
||
|
"default": "0",
|
||
|
"description": "",
|
||
|
"fieldname": "is_primary_address",
|
||
|
"fieldtype": "Check",
|
||
|
"hidden": 0,
|
||
|
"label": "Preferred Billing Address",
|
||
|
"read_only": 0,
|
||
|
"reqd": 0
|
||
|
},
|
||
|
{
|
||
|
"default": "0",
|
||
|
"description": "",
|
||
|
"fieldname": "is_shipping_address",
|
||
|
"fieldtype": "Check",
|
||
|
"hidden": 0,
|
||
|
"label": "Preferred Shipping Address",
|
||
|
"read_only": 0,
|
||
|
"reqd": 0
|
||
|
}
|
||
|
]
|
||
|
}
|