2
0
mirror of https://github.com/frappe/books.git synced 2024-11-09 23:30:56 +00:00
books/schemas/app/PurchaseInvoice.json
18alantom ad05ca7466 fix(ux): rename item for to Purpose
- contextual indep naems for stock not transf
2023-08-28 11:50:15 +05:30

61 lines
1.3 KiB
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": "party",
"label": "Supplier",
"fieldtype": "Link",
"target": "Party",
"create": true,
"required": true,
"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"
},
{
"fieldname": "stockNotTransferred",
"label": "Stock Not Received",
"fieldtype": "Float",
"readOnly": true,
"section": "Outstanding"
}
],
"keywordFields": ["name", "party"]
}