feat: hide fields in print

This commit is contained in:
barredterra 2021-09-17 12:16:23 +02:00 committed by marination
parent 043066a2c8
commit 676ed6b881
2 changed files with 16 additions and 7 deletions

View File

@ -126,13 +126,15 @@
"fieldname": "language",
"fieldtype": "Link",
"label": "Print Language",
"options": "Language"
"options": "Language",
"print_hide": 1
},
{
"fieldname": "letter_head",
"fieldtype": "Link",
"label": "Letter Head",
"options": "Letter Head"
"options": "Letter Head",
"print_hide": 1
},
{
"fieldname": "column_break_22",
@ -294,13 +296,15 @@
"fieldname": "customer_address",
"fieldtype": "Link",
"label": "Customer Address",
"options": "Address"
"options": "Address",
"print_hide": 1
},
{
"fieldname": "contact_person",
"fieldtype": "Link",
"label": "Contact Person",
"options": "Contact"
"options": "Contact",
"print_hide": 1
},
{
"fieldname": "dunning_amount",
@ -319,7 +323,8 @@
"fieldname": "cost_center",
"fieldtype": "Link",
"label": "Cost Center",
"options": "Cost Center"
"options": "Cost Center",
"print_hide": 1
},
{
"collapsible": 1,
@ -352,7 +357,8 @@
"fieldname": "company_address",
"fieldtype": "Link",
"label": "Company Address",
"options": "Address"
"options": "Address",
"print_hide": 1
}
],
"is_submittable": 1,

View File

@ -113,6 +113,7 @@
"fieldname": "discounted_amount",
"fieldtype": "Currency",
"label": "Discounted Amount",
"print_hide": 1,
"read_only": 1
},
{
@ -124,6 +125,7 @@
"fieldtype": "Currency",
"label": "Payment Amount (Company Currency)",
"options": "Company:company:default_currency",
"print_hide": 1,
"read_only": 1
},
{
@ -138,6 +140,7 @@
"fieldname": "payment_schedule",
"fieldtype": "Data",
"label": "Payment Schedule",
"print_hide": 1,
"read_only": 1
},
{
@ -158,7 +161,7 @@
"index_web_pages_for_search": 1,
"istable": 1,
"links": [],
"modified": "2021-09-15 19:04:54.082880",
"modified": "2021-09-17 12:10:42.278923",
"modified_by": "Administrator",
"module": "Accounts",
"name": "Overdue Payment",