2
0
mirror of https://github.com/frappe/books.git synced 2024-11-14 01:14:03 +00:00
books/schemas/app/PrintTemplate.json
18alantom c04098a3eb incr: add scaled container
- allow changing the scale of the print view
- prevent deletion of non custom templates
2023-03-06 10:40:03 +05:30

35 lines
672 B
JSON

{
"name": "PrintTemplate",
"label": "Print Template",
"naming": "manual",
"isSingle": false,
"fields": [
{
"fieldname": "name",
"label": "Template Name",
"fieldtype": "Data",
"required": true
},
{
"fieldname": "type",
"label": "Template Type",
"fieldtype": "AutoComplete",
"default": "SalesInvoice",
"required": true
},
{
"fieldname": "template",
"label": "Template",
"fieldtype": "Text",
"required": true
},
{
"fieldname": "isCustom",
"label": "Is Custom",
"fieldtype": "Check",
"default": true,
"readOnly": true
}
]
}