commit | 7041a4529428d1e082628e93ee6996597f9747fa | [log] [tgz] |
---|---|---|
author | Nabin Hait <nabinhait@gmail.com> | Wed Mar 28 15:50:14 2018 +0530 |
committer | GitHub <noreply@github.com> | Wed Mar 28 15:50:14 2018 +0530 |
tree | e750b1b4c6c08f14913c1bcba1104a9f9a9931ab | |
parent | a6746407e5315fa77c445c34f1dbad5eed050c23 [diff] |
Update fix_reserved_qty_for_sub_contract.py
diff --git a/erpnext/patches/v10_0/fix_reserved_qty_for_sub_contract.py b/erpnext/patches/v10_0/fix_reserved_qty_for_sub_contract.py index 5d02537..ded44e8 100644 --- a/erpnext/patches/v10_0/fix_reserved_qty_for_sub_contract.py +++ b/erpnext/patches/v10_0/fix_reserved_qty_for_sub_contract.py
@@ -6,6 +6,7 @@ from erpnext.stock.utils import get_bin def execute(): + frappe.reload_doc("stock", "doctype", "bin") frappe.reload_doc("buying", "doctype", "purchase_order_item_supplied") for d in frappe.db.sql(""" select distinct rm_item_code, reserve_warehouse