mirror of
https://github.com/frappe/books.git
synced 2024-12-23 03:19:01 +00:00
d9415233f5
- remove widgets from the QuickEditForm - remove redundant files
105 lines
2.1 KiB
JSON
105 lines
2.1 KiB
JSON
{
|
|
"name": "Party",
|
|
"label": "Party",
|
|
"naming": "manual",
|
|
"fields": [
|
|
{
|
|
"fieldname": "image",
|
|
"label": "Image",
|
|
"fieldtype": "AttachImage",
|
|
"section": "Default"
|
|
},
|
|
{
|
|
"fieldname": "name",
|
|
"label": "Name",
|
|
"fieldtype": "Data",
|
|
"required": true,
|
|
"placeholder": "Full Name",
|
|
"section": "Default"
|
|
},
|
|
{
|
|
"fieldname": "role",
|
|
"label": "Role",
|
|
"fieldtype": "Select",
|
|
"default": "Both",
|
|
"options": [
|
|
{
|
|
"value": "Both",
|
|
"label": "Both"
|
|
},
|
|
{
|
|
"value": "Supplier",
|
|
"label": "Supplier"
|
|
},
|
|
{
|
|
"value": "Customer",
|
|
"label": "Customer"
|
|
}
|
|
],
|
|
"required": true,
|
|
"section": "Default"
|
|
},
|
|
{
|
|
"fieldname": "email",
|
|
"label": "Email",
|
|
"fieldtype": "Data",
|
|
"placeholder": "john@doe.com",
|
|
"section": "Contacts"
|
|
},
|
|
{
|
|
"fieldname": "phone",
|
|
"label": "Phone",
|
|
"fieldtype": "Data",
|
|
"placeholder": "Phone",
|
|
"section": "Contacts"
|
|
},
|
|
{
|
|
"fieldname": "address",
|
|
"label": "Address",
|
|
"fieldtype": "Link",
|
|
"target": "Address",
|
|
"create": true,
|
|
"section": "Contacts"
|
|
},
|
|
{
|
|
"fieldname": "defaultAccount",
|
|
"label": "Default Account",
|
|
"fieldtype": "Link",
|
|
"target": "Account",
|
|
"create": true,
|
|
"section": "Billing"
|
|
},
|
|
{
|
|
"fieldname": "currency",
|
|
"label": "Currency",
|
|
"fieldtype": "Link",
|
|
"target": "Currency",
|
|
"placeholder": "INR",
|
|
"create": true,
|
|
"section": "Billing"
|
|
},
|
|
{
|
|
"fieldname": "taxId",
|
|
"label": "Tax ID",
|
|
"fieldtype": "Data",
|
|
"section": "Billing"
|
|
},
|
|
{
|
|
"fieldname": "outstandingAmount",
|
|
"label": "Outstanding Amount",
|
|
"fieldtype": "Currency",
|
|
"hidden": true
|
|
}
|
|
],
|
|
"quickEditFields": [
|
|
"email",
|
|
"phone",
|
|
"address",
|
|
"defaultAccount",
|
|
"currency",
|
|
"role",
|
|
"taxId"
|
|
],
|
|
"keywordFields": ["name", "email", "role"]
|
|
}
|