From 733ff48d51a4136727cfca0fa4b660e00ba0e1ec Mon Sep 17 00:00:00 2001 From: Faris Ansari Date: Mon, 22 Apr 2019 12:08:18 +0530 Subject: [PATCH] fix: Refactor for Print Format changes (#17242) - Rename Server to Jinja - Rename Js to JS --- .../cheque_print_template/cheque_print_template.py | 12 ++++++------ erpnext/accounts/doctype/pos_profile/pos_profile.js | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/erpnext/accounts/doctype/cheque_print_template/cheque_print_template.py b/erpnext/accounts/doctype/cheque_print_template/cheque_print_template.py index 24cd3dda9b..d62ee9deeb 100644 --- a/erpnext/accounts/doctype/cheque_print_template/cheque_print_template.py +++ b/erpnext/accounts/doctype/cheque_print_template/cheque_print_template.py @@ -18,14 +18,14 @@ def create_or_update_cheque_print_format(template_name): "doc_type": "Payment Entry", "standard": "No", "custom_format": 1, - "print_format_type": "Server", + "print_format_type": "Jinja", "name": template_name }) else: cheque_print = frappe.get_doc("Print Format", template_name) - + doc = frappe.get_doc("Cheque Print Template", template_name) - + cheque_print.html = """