mirror of
https://github.com/frappe/books.git
synced 2024-11-10 07:40:55 +00:00
68 lines
1.5 KiB
JSON
68 lines
1.5 KiB
JSON
{
|
|
"name": "SalesInvoice",
|
|
"label": "Sales Invoice",
|
|
"extends": "Invoice",
|
|
"naming": "numberSeries",
|
|
"showTitle": true,
|
|
"fields": [
|
|
{
|
|
"fieldname": "numberSeries",
|
|
"label": "Number Series",
|
|
"fieldtype": "Link",
|
|
"target": "NumberSeries",
|
|
"create": true,
|
|
"required": true,
|
|
"default": "SINV-",
|
|
"section": "Default"
|
|
},
|
|
{
|
|
"fieldname": "party",
|
|
"label": "Customer",
|
|
"fieldtype": "Link",
|
|
"target": "Party",
|
|
"create": true,
|
|
"required": true,
|
|
"section": "Default"
|
|
},
|
|
{
|
|
"fieldname": "backReference",
|
|
"label": "Back Reference",
|
|
"fieldtype": "Link",
|
|
"target": "Shipment",
|
|
"section": "References"
|
|
},
|
|
{
|
|
"fieldname": "makeAutoStockTransfer",
|
|
"label": "Make Shipment On Submit",
|
|
"fieldtype": "Check",
|
|
"default": false,
|
|
"readOnly": false,
|
|
"tab": "Settings"
|
|
},
|
|
{
|
|
"fieldname": "items",
|
|
"label": "Items",
|
|
"fieldtype": "Table",
|
|
"target": "SalesInvoiceItem",
|
|
"required": true,
|
|
"edit": true,
|
|
"section": "Items"
|
|
},
|
|
{
|
|
"fieldname": "stockNotTransferred",
|
|
"label": "Stock Not Shipped",
|
|
"fieldtype": "Float",
|
|
"readOnly": true,
|
|
"section": "Outstanding"
|
|
},
|
|
{
|
|
"fieldname": "returnAgainst",
|
|
"fieldtype": "Link",
|
|
"target": "SalesInvoice",
|
|
"label": "Return Against",
|
|
"section": "References"
|
|
}
|
|
],
|
|
"keywordFields": ["name", "party"]
|
|
}
|