2
0
mirror of https://github.com/frappe/books.git synced 2024-12-24 11:55:46 +00:00
books/schemas/app/Party.json

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

96 lines
1.8 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": "name",
"label": "Name",
"fieldtype": "Data",
"required": true,
"placeholder": "Full Name"
},
{
"fieldname": "image",
"label": "Image",
"fieldtype": "AttachImage"
},
{
"fieldname": "role",
"label": "Role",
"fieldtype": "Select",
"default": "Both",
"options": [
{
"value": "Both",
"label": "Both"
},
{
"value": "Supplier",
"label": "Supplier"
},
{
"value": "Customer",
"label": "Customer"
}
],
"required": true
},
2022-03-23 07:31:15 +00:00
{
"fieldname": "defaultAccount",
"label": "Default Account",
"fieldtype": "Link",
2022-06-20 06:31:20 +00:00
"target": "Account",
"create": true
2022-03-23 07:31:15 +00:00
},
{
"fieldname": "outstandingAmount",
"label": "Outstanding Amount",
"fieldtype": "Currency",
"hidden": true
2022-03-23 07:31:15 +00:00
},
{
"fieldname": "currency",
"label": "Currency",
"fieldtype": "Link",
"target": "Currency",
2022-06-20 06:31:20 +00:00
"placeholder": "INR",
"create": true
2022-03-23 07:31:15 +00:00
},
{
"fieldname": "email",
"label": "Email",
"fieldtype": "Data",
2022-03-23 08:37:00 +00:00
"placeholder": "john@doe.com"
2022-03-23 07:31:15 +00:00
},
{
"fieldname": "phone",
"label": "Phone",
"fieldtype": "Data",
2022-03-23 08:37:00 +00:00
"placeholder": "Phone"
2022-03-23 07:31:15 +00:00
},
{
"fieldname": "address",
"label": "Address",
"fieldtype": "Link",
"target": "Address",
"create": true
},
{
"fieldname": "taxId",
"label": "Tax ID",
"fieldtype": "Data"
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
}