Update repost_stock_for_deleted_bins_for_merging_items.py
This commit is contained in:
parent
0c10e3b210
commit
b3943cb53a
@ -3,6 +3,8 @@ import frappe
|
||||
from erpnext.stock.stock_balance import repost_stock
|
||||
|
||||
def execute():
|
||||
frappe.reload_doc('manufacturing', 'doctype', 'production_order_item')
|
||||
|
||||
modified_items = frappe.db.sql_list("""
|
||||
select name from `tabItem`
|
||||
where is_stock_item=1 and modified >= '2016-10-31'
|
||||
|
Loading…
x
Reference in New Issue
Block a user