2
0
mirror of https://github.com/frappe/books.git synced 2025-01-08 17:24:05 +00:00
books/schemas/app/inventory/Point of Sale/POSSettings.json

90 lines
1.9 KiB
JSON

{
"name": "POSSettings",
"label": "POS Settings",
"isSingle": true,
"isChild": false,
"fields": [
{
"fieldname": "isShiftOpen",
"label": "Is POS Shift Open",
"fieldtype": "Check",
"default": false,
"hidden": false
},
{
"fieldname": "inventory",
"label": "Inventory",
"fieldtype": "Link",
"target": "Location",
"create": true,
"default": "Stores",
"section": "Default"
},
{
"fieldname": "cashAccount",
"label": "Counter Cash Account",
"fieldtype": "Link",
"target": "Account",
"default": "Cash In Hand",
"required": true,
"create": true,
"section": "Default"
},
{
"fieldname": "writeOffAccount",
"label": "Write Off Account",
"fieldtype": "Link",
"target": "Account",
"create": true,
"default": "Write Off",
"section": "Default"
},
{
"fieldname": "posUI",
"label": "Pos Ui",
"fieldtype": "Select",
"options": [
{
"value": "Classic",
"label": "Classic"
},
{
"value": "Modern",
"label": "Modern"
}
],
"default": "Classic",
"required": true,
"section": "Default"
},
{
"fieldname": "weightEnabledBarcode",
"label": "Weigth Enabled Barcode",
"fieldtype": "Check",
"default": false,
"section": "Barcode"
},
{
"fieldname": "checkDigits",
"label": "Check Digits",
"fieldtype": "Int",
"default": 0,
"section": "Barcode"
},
{
"fieldname": "itemCodeDigits",
"label": "Item Code Digits",
"fieldtype": "Int",
"default": 0,
"section": "Barcode"
},
{
"fieldname": "itemWeightDigits",
"label": "item Weight Digits",
"fieldtype": "Int",
"default": 0,
"section": "Barcode"
}
]
}