diff --git a/erpnext/patches/Discount_purchase_cycle.py b/erpnext/patches/Discount_purchase_cycle.py old mode 100644 new mode 100755 index 0edc6430fe..6be37f242b --- a/erpnext/patches/Discount_purchase_cycle.py +++ b/erpnext/patches/Discount_purchase_cycle.py @@ -2,6 +2,6 @@ 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('accounts', 'doctype', 'pv_detail') + reload_doc('buying', 'doctype', 'po_detail') reload_doc('stock', 'doctype', 'purchase_receipt_detail')