2
0
mirror of https://github.com/frappe/books.git synced 2024-11-14 17:34:04 +00:00
books/schemas/app/PriceList.json
18alantom 7d10951316 fix: ItemPrice -> PriceListItem
- update and remove fields
2023-06-06 22:11:54 -07:00

43 lines
851 B
JSON

{
"name": "PriceList",
"label": "Price List",
"naming": "manual",
"fields": [
{
"fieldname": "name",
"label": "Name",
"fieldtype": "Data",
"required": true
},
{
"fieldname": "isEnabled",
"label": "Is Price List Enabled",
"fieldtype": "Check",
"default": true
},
{
"fieldname": "isSales",
"label": "For Sales",
"fieldtype": "Check",
"default": true,
"required": true
},
{
"fieldname": "isPurchase",
"label": "For Purchase",
"fieldtype": "Check",
"default": false,
"required": true
},
{
"fieldname": "priceListItem",
"label": "Item Prices",
"fieldtype": "Table",
"target": "PriceListItem",
"edit": true,
"required": true,
"section": "Item Prices"
}
]
}