feat: hide fields in print

This commit is contained in:
barredterra
2021-09-17 12:16:23 +02:00
parent f9f2faf457
commit 71e93b65cb
2 changed files with 17 additions and 8 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",
@@ -293,13 +295,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",
@@ -318,7 +322,8 @@
"fieldname": "cost_center",
"fieldtype": "Link",
"label": "Cost Center",
"options": "Cost Center"
"options": "Cost Center",
"print_hide": 1
},
{
"collapsible": 1,
@@ -351,12 +356,13 @@
"fieldname": "company_address",
"fieldtype": "Link",
"label": "Company Address",
"options": "Address"
"options": "Address",
"print_hide": 1
}
],
"is_submittable": 1,
"links": [],
"modified": "2021-09-16 17:07:48.053025",
"modified": "2021-09-17 12:08:34.383612",
"modified_by": "Administrator",
"module": "Accounts",
"name": "Dunning",

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",