Update repost_stock_for_deleted_bins_for_merging_items.py

This commit is contained in:
Nabin Hait 2016-12-22 17:49:46 +05:30 committed by GitHub
parent a216f50114
commit 6104fdc579

View File

@ -4,6 +4,7 @@ from erpnext.stock.stock_balance import repost_stock
def execute():
frappe.reload_doc('manufacturing', 'doctype', 'production_order_item')
frappe.reload_doc('manufacturing', 'doctype', 'production_order')
modified_items = frappe.db.sql_list("""
select name from `tabItem`