2
0
mirror of https://github.com/frappe/books.git synced 2024-11-15 01:44:04 +00:00
books/schemas/app/Party.json

113 lines
2.2 KiB
JSON
Raw Normal View History

2022-03-23 07:31:15 +00:00
{
"name": "Party",
"label": "Party",
"naming": "manual",
2022-03-23 07:31:15 +00:00
"fields": [
{
"fieldname": "image",
"label": "Image",
"fieldtype": "AttachImage",
"section": "Default"
},
2022-03-23 07:31:15 +00:00
{
"fieldname": "name",
"label": "Name",
"fieldtype": "Data",
"required": true,
"placeholder": "Full Name",
"section": "Default"
2022-03-23 07:31:15 +00:00
},
{
"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"
2022-03-23 07:31:15 +00:00
},
{
"fieldname": "email",
"label": "Email",
"fieldtype": "Data",
"placeholder": "john@doe.com",
"section": "Contacts"
2022-03-23 07:31:15 +00:00
},
{
"fieldname": "phone",
"label": "Phone",
"fieldtype": "Data",
"placeholder": "Phone",
"section": "Contacts"
2022-03-23 07:31:15 +00:00
},
{
"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"
},
2024-08-09 05:11:54 +00:00
{
"fieldname": "fromLead",
"label": "From Lead",
"fieldtype": "Link",
"target": "Lead",
"readOnly": true,
"section": "References"
},
{
"fieldname": "taxId",
"label": "Tax ID",
"fieldtype": "Data",
"section": "Billing"
},
{
"fieldname": "outstandingAmount",
"label": "Outstanding Amount",
"fieldtype": "Currency",
"hidden": true
2022-03-23 07:31:15 +00:00
}
],
"quickEditFields": [
"email",
"phone",
"address",
"defaultAccount",
"currency",
"role",
"taxId"
],
"keywordFields": ["name", "email", "role"]
2022-03-23 08:37:00 +00:00
}