mirror of
https://github.com/frappe/books.git
synced 2024-11-13 00:46:28 +00:00
73 lines
1.4 KiB
JSON
73 lines
1.4 KiB
JSON
|
{
|
||
|
"name": "PurchaseInvoiceItem",
|
||
|
"doctype": "DocType",
|
||
|
"isChild": true,
|
||
|
"keywordFields": [],
|
||
|
"tableFields": [
|
||
|
"item",
|
||
|
"tax",
|
||
|
"quantity",
|
||
|
"rate",
|
||
|
"amount"
|
||
|
],
|
||
|
"fields": [
|
||
|
{
|
||
|
"fieldname": "item",
|
||
|
"label": "Item",
|
||
|
"fieldtype": "Link",
|
||
|
"target": "Item",
|
||
|
"required": true
|
||
|
},
|
||
|
{
|
||
|
"fieldname": "description",
|
||
|
"label": "Description",
|
||
|
"fieldtype": "Text",
|
||
|
"hidden": true
|
||
|
},
|
||
|
{
|
||
|
"fieldname": "quantity",
|
||
|
"label": "Quantity",
|
||
|
"fieldtype": "Float",
|
||
|
"required": true,
|
||
|
"default": 1
|
||
|
},
|
||
|
{
|
||
|
"fieldname": "rate",
|
||
|
"label": "Rate",
|
||
|
"fieldtype": "Currency",
|
||
|
"required": true
|
||
|
},
|
||
|
{
|
||
|
"fieldname": "baseRate",
|
||
|
"label": "Rate (Company Currency)",
|
||
|
"fieldtype": "Currency",
|
||
|
"readOnly": true
|
||
|
},
|
||
|
{
|
||
|
"fieldname": "account",
|
||
|
"label": "Account",
|
||
|
"fieldtype": "Link",
|
||
|
"target": "Account",
|
||
|
"required": true,
|
||
|
"readOnly": true
|
||
|
},
|
||
|
{
|
||
|
"fieldname": "tax",
|
||
|
"label": "Tax",
|
||
|
"fieldtype": "Link",
|
||
|
"target": "Tax"
|
||
|
},
|
||
|
{
|
||
|
"fieldname": "amount",
|
||
|
"label": "Amount",
|
||
|
"fieldtype": "Currency",
|
||
|
"readOnly": true
|
||
|
},
|
||
|
{
|
||
|
"fieldname": "baseAmount",
|
||
|
"label": "Amount (Company Currency)",
|
||
|
"fieldtype": "Currency",
|
||
|
"readOnly": true
|
||
|
}
|
||
|
]
|
||
|
}
|