From 6800ad55bd028bbcc8c8d2e3087049b43b87d985 Mon Sep 17 00:00:00 2001 From: Nijil Date: Tue, 22 Nov 2011 15:21:42 +0530 Subject: [PATCH] patch for Discount Rate --- erpnext/patches/Discount_purchase_cycle.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 erpnext/patches/Discount_purchase_cycle.py diff --git a/erpnext/patches/Discount_purchase_cycle.py b/erpnext/patches/Discount_purchase_cycle.py new file mode 100644 index 0000000000..0edc6430fe --- /dev/null +++ b/erpnext/patches/Discount_purchase_cycle.py @@ -0,0 +1,7 @@ +def execute(): + import webnotes + from webnotes.modules.module_manager import reload_doc + + reload_doc('accounts', 'doctype', 'payable_voucher') + reload_doc('buying', 'doctype', 'purchase_common') + reload_doc('stock', 'doctype', 'purchase_receipt_detail')