mirror of
https://github.com/frappe/books.git
synced 2024-11-14 01:14:03 +00:00
60 lines
1.2 KiB
JSON
60 lines
1.2 KiB
JSON
|
{
|
||
|
"name": "StockMovementItem",
|
||
|
"label": "Stock Movement Item",
|
||
|
"naming": "random",
|
||
|
"isChild": true,
|
||
|
"fields": [
|
||
|
{
|
||
|
"fieldname": "item",
|
||
|
"label": "Item",
|
||
|
"fieldtype": "Link",
|
||
|
"target": "Item",
|
||
|
"create": true,
|
||
|
"required": true
|
||
|
},
|
||
|
{
|
||
|
"fieldname": "fromLocation",
|
||
|
"label": "From",
|
||
|
"fieldtype": "Link",
|
||
|
"target": "Location",
|
||
|
"create": true
|
||
|
},
|
||
|
{
|
||
|
"fieldname": "toLocation",
|
||
|
"label": "To",
|
||
|
"fieldtype": "Link",
|
||
|
"target": "Location",
|
||
|
"create": true
|
||
|
},
|
||
|
{
|
||
|
"fieldname": "quantity",
|
||
|
"label": "Quantity",
|
||
|
"fieldtype": "Float",
|
||
|
"required": true,
|
||
|
"default": 1
|
||
|
},
|
||
|
{
|
||
|
"fieldname": "rate",
|
||
|
"label": "Rate",
|
||
|
"fieldtype": "Currency",
|
||
|
"required": true
|
||
|
},
|
||
|
{
|
||
|
"fieldname": "amount",
|
||
|
"label": "Amount",
|
||
|
"fieldtype": "Currency",
|
||
|
"readOnly": true
|
||
|
}
|
||
|
],
|
||
|
"tableFields": ["item", "fromLocation", "toLocation", "quantity", "rate"],
|
||
|
"keywordFields": ["item"],
|
||
|
"quickEditFields": [
|
||
|
"item",
|
||
|
"fromLocation",
|
||
|
"toLocation",
|
||
|
"quantity",
|
||
|
"rate",
|
||
|
"amount"
|
||
|
]
|
||
|
}
|