mirror of
https://github.com/frappe/books.git
synced 2024-12-23 19:39:07 +00:00
c04098a3eb
- allow changing the scale of the print view - prevent deletion of non custom templates
35 lines
672 B
JSON
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
|
|
}
|
|
]
|
|
}
|