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

View File

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