From 5c6e91943e6f495b9a5f6442140436ecf765df1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sven=20F=C3=B6rster?= Date: Tue, 15 Oct 2024 16:25:02 +0200 Subject: [PATCH 1/5] Print format more robust in html and pdf view --- print_format/delivery_note.jinja | 17 ++++-------- print_format/dunning.jinja | 17 ++++-------- print_format/purchase_order.jinja | 17 ++++-------- print_format/quotation.jinja | 17 ++++-------- print_format/request_for_quotation.jinja | 17 ++++-------- print_format/sales_invoice.jinja | 17 ++++-------- print_format/sales_order.jinja | 17 ++++-------- print_style/print_style.scss | 33 +++++++++++++++++------- 8 files changed, 59 insertions(+), 93 deletions(-) diff --git a/print_format/delivery_note.jinja b/print_format/delivery_note.jinja index 6a0468b..b3dfdab 100644 --- a/print_format/delivery_note.jinja +++ b/print_format/delivery_note.jinja @@ -1,13 +1,3 @@ - - {% set company = frappe.get_doc("Company", doc.company) %} {% set cmp_addr = frappe.get_doc("Address", doc.company_address) if doc.company_address else None %} {% set ship_addr = frappe.get_doc("Address", doc.shipping_address_name) if doc.shipping_address_name else None %} @@ -134,10 +124,13 @@