mirror of
https://github.com/frappe/books.git
synced 2024-11-08 23:00:56 +00:00
65 lines
1.3 KiB
JSON
65 lines
1.3 KiB
JSON
{
|
|
"name": "SalesQuote",
|
|
"label": "Quote",
|
|
"extends": "Invoice",
|
|
"naming": "numberSeries",
|
|
"showTitle": true,
|
|
"fields": [
|
|
{
|
|
"fieldname": "numberSeries",
|
|
"label": "Number Series",
|
|
"fieldtype": "Link",
|
|
"target": "NumberSeries",
|
|
"create": true,
|
|
"required": true,
|
|
"default": "SQUOT-",
|
|
"section": "Default"
|
|
},
|
|
{
|
|
"fieldname": "referenceType",
|
|
"label": "Type",
|
|
"placeholder": "Type",
|
|
"fieldtype": "Select",
|
|
"default": "Party",
|
|
"options": [
|
|
{
|
|
"value": "Party",
|
|
"label": "Party"
|
|
},
|
|
{
|
|
"value": "Lead",
|
|
"label": "Lead"
|
|
}
|
|
],
|
|
"required": true
|
|
},
|
|
{
|
|
"fieldname": "party",
|
|
"label": "Customer",
|
|
"fieldtype": "DynamicLink",
|
|
"references": "referenceType",
|
|
"create": true,
|
|
"required": true,
|
|
"section": "Default"
|
|
},
|
|
{
|
|
"fieldname": "items",
|
|
"label": "Items",
|
|
"fieldtype": "Table",
|
|
"target": "SalesQuoteItem",
|
|
"required": true,
|
|
"edit": true,
|
|
"section": "Items"
|
|
}
|
|
],
|
|
"keywordFields": ["name", "party"],
|
|
"removeFields": [
|
|
"account",
|
|
"stockNotTransferred",
|
|
"backReference",
|
|
"makeAutoStockTransfer",
|
|
"returnAgainst",
|
|
"isReturned"
|
|
]
|
|
}
|