2
0
mirror of https://github.com/frappe/books.git synced 2024-12-23 03:19:01 +00:00
books/schemas/app/PurchaseInvoice.json
2023-06-06 12:33:58 +05:30

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"]
}