mirror of
https://github.com/frappe/books.git
synced 2024-11-10 15:50:56 +00:00
45 lines
1013 B
JSON
45 lines
1013 B
JSON
{
|
|
"name": "PurchaseInvoice",
|
|
"label": "Purchase Invoice",
|
|
"extends": "Invoice",
|
|
"naming": "numberSeries",
|
|
"showTitle": true,
|
|
"fields": [
|
|
{
|
|
"fieldname": "numberSeries",
|
|
"label": "Number Series",
|
|
"fieldtype": "Link",
|
|
"target": "NumberSeries",
|
|
"create": true,
|
|
"required": true,
|
|
"default": "PINV-",
|
|
"section": "Default"
|
|
},
|
|
{
|
|
"fieldname": "backReference",
|
|
"label": "Back Reference",
|
|
"fieldtype": "Link",
|
|
"target": "PurchaseReceipt",
|
|
"section": "References"
|
|
},
|
|
{
|
|
"fieldname": "makeAutoStockTransfer",
|
|
"label": "Make Purchase Receipt On Submit",
|
|
"fieldtype": "Check",
|
|
"default": false,
|
|
"readOnly": false,
|
|
"tab": "Settings"
|
|
},
|
|
{
|
|
"fieldname": "items",
|
|
"label": "Items",
|
|
"fieldtype": "Table",
|
|
"target": "PurchaseInvoiceItem",
|
|
"required": true,
|
|
"edit": true,
|
|
"section": "Items"
|
|
}
|
|
],
|
|
"keywordFields": ["name", "party"]
|
|
}
|