2
0
mirror of https://github.com/frappe/books.git synced 2024-11-08 23:00:56 +00:00
books/schemas/app/PriceList.json
18alantom 89e45c604c fix: price list table visiblity
- make price list searchable
- remove row edit from price list
2023-06-07 11:58:15 +05:30

40 lines
783 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
},
{
"fieldname": "isPurchase",
"label": "For Purchase",
"fieldtype": "Check",
"default": false
},
{
"fieldname": "priceListItem",
"label": "Item Prices",
"fieldtype": "Table",
"target": "PriceListItem",
"required": true,
"section": "Item Prices"
}
]
}