[ { "creation": "2013-01-10 16:34:32", "docstatus": 0, "modified": "2013-07-11 17:02:12", "modified_by": "Administrator", "owner": "Administrator" }, { "doctype": "DocType", "document_type": "Master", "icon": "icon-map-marker", "in_dialog": 0, "module": "Utilities", "name": "__common__", "search_fields": "customer, supplier, sales_partner, country, state" }, { "doctype": "DocField", "name": "__common__", "parent": "Address", "parentfield": "fields", "parenttype": "DocType", "permlevel": 0 }, { "create": 1, "doctype": "DocPerm", "name": "__common__", "parent": "Address", "parentfield": "permissions", "parenttype": "DocType", "permlevel": 0, "read": 1, "report": 1, "submit": 0, "write": 1 }, { "doctype": "DocType", "name": "Address" }, { "doctype": "DocField", "fieldname": "address_details", "fieldtype": "Section Break", "label": "Address Details", "options": "icon-map-marker" }, { "description": "Name of person or organization that this address belongs to.", "doctype": "DocField", "fieldname": "address_title", "fieldtype": "Data", "label": "Address Title", "reqd": 0 }, { "doctype": "DocField", "fieldname": "address_type", "fieldtype": "Select", "label": "Address Type", "options": "Billing\nShipping\nOffice\nPersonal\nPlant\nPostal\nShop\nSubsidiary\nWarehouse\nOther", "reqd": 1 }, { "doctype": "DocField", "fieldname": "address_line1", "fieldtype": "Data", "label": "Address Line 1", "reqd": 1 }, { "doctype": "DocField", "fieldname": "address_line2", "fieldtype": "Data", "label": "Address Line 2" }, { "doctype": "DocField", "fieldname": "city", "fieldtype": "Data", "in_filter": 1, "in_list_view": 1, "label": "City/Town", "reqd": 1, "search_index": 1 }, { "doctype": "DocField", "fieldname": "state", "fieldtype": "Data", "in_filter": 1, "label": "State", "options": "Suggest", "search_index": 0 }, { "doctype": "DocField", "fieldname": "pincode", "fieldtype": "Data", "in_filter": 1, "label": "Pincode", "search_index": 1 }, { "doctype": "DocField", "fieldname": "country", "fieldtype": "Select", "in_filter": 1, "in_list_view": 1, "label": "Country", "options": "link:Country", "reqd": 1, "search_index": 1 }, { "doctype": "DocField", "fieldname": "column_break0", "fieldtype": "Column Break", "print_hide": 0, "width": "50%" }, { "doctype": "DocField", "fieldname": "email_id", "fieldtype": "Data", "label": "Email Id" }, { "doctype": "DocField", "fieldname": "phone", "fieldtype": "Data", "label": "Phone", "reqd": 1 }, { "doctype": "DocField", "fieldname": "fax", "fieldtype": "Data", "in_filter": 1, "label": "Fax" }, { "default": "0", "description": "Check to make primary address", "doctype": "DocField", "fieldname": "is_primary_address", "fieldtype": "Check", "label": "Preferred Billing Address" }, { "default": "0", "description": "Check to make Shipping Address", "doctype": "DocField", "fieldname": "is_shipping_address", "fieldtype": "Check", "in_list_view": 1, "label": "Preferred Shipping Address" }, { "doctype": "DocField", "fieldname": "linked_with", "fieldtype": "Section Break", "label": "Reference", "options": "icon-pushpin" }, { "depends_on": "eval:!doc.supplier && !doc.sales_partner", "doctype": "DocField", "fieldname": "customer", "fieldtype": "Link", "label": "Customer", "options": "Customer" }, { "depends_on": "eval:!doc.supplier && !doc.sales_partner", "doctype": "DocField", "fieldname": "customer_name", "fieldtype": "Data", "in_filter": 1, "in_list_view": 1, "label": "Customer Name", "read_only": 1 }, { "depends_on": "eval:!doc.customer && !doc.sales_partner && !doc.lead", "doctype": "DocField", "fieldname": "supplier", "fieldtype": "Link", "label": "Supplier", "options": "Supplier" }, { "depends_on": "eval:!doc.customer && !doc.sales_partner && !doc.lead", "doctype": "DocField", "fieldname": "supplier_name", "fieldtype": "Data", "in_filter": 1, "in_list_view": 1, "label": "Supplier Name", "read_only": 1, "search_index": 0 }, { "depends_on": "eval:!doc.customer && !doc.supplier && !doc.lead", "doctype": "DocField", "fieldname": "sales_partner", "fieldtype": "Link", "label": "Sales Partner", "options": "Sales Partner" }, { "doctype": "DocField", "fieldname": "column_break_22", "fieldtype": "Column Break" }, { "depends_on": "eval:!doc.supplier && !doc.sales_partner", "doctype": "DocField", "fieldname": "lead", "fieldtype": "Link", "label": "Lead", "options": "Lead" }, { "depends_on": "eval:!doc.supplier && !doc.sales_partner", "doctype": "DocField", "fieldname": "lead_name", "fieldtype": "Data", "label": "Lead Name", "read_only": 1 }, { "doctype": "DocPerm", "role": "Sales User" }, { "doctype": "DocPerm", "role": "Purchase User" }, { "doctype": "DocPerm", "role": "Maintenance User" }, { "doctype": "DocPerm", "role": "Accounts User" } ]