From 5a4ca64c4a48828526e3cca2b1dbdc8f7cb2f103 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Fri, 2 Sep 2016 12:15:41 +0530 Subject: [PATCH] Party name in Payment Entry and cheque print format --- .../cheque_print_template.py | 2 +- .../doctype/payment_entry/payment_entry.json | 81 ++++++++++++++++++- .../doctype/payment_entry/payment_entry.py | 3 + erpnext/patches.txt | 3 +- .../v7_0/set_party_name_in_payment_entry.py | 18 +++++ 5 files changed, 103 insertions(+), 4 deletions(-) create mode 100644 erpnext/patches/v7_0/set_party_name_in_payment_entry.py 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 a6cc8baa9c..752ecdaeb7 100644 --- a/erpnext/accounts/doctype/cheque_print_template/cheque_print_template.py +++ b/erpnext/accounts/doctype/cheque_print_template/cheque_print_template.py @@ -43,7 +43,7 @@ def create_or_update_cheque_print_format(template_name): - {{doc.party}} + {{doc.party_name}}