Reload bin in reserved qty reposting patch
This commit is contained in:
parent
4e30b84d88
commit
867dfec64b
@ -6,7 +6,8 @@ import frappe
|
|||||||
from erpnext.stock.stock_balance import update_bin_qty, get_reserved_qty
|
from erpnext.stock.stock_balance import update_bin_qty, get_reserved_qty
|
||||||
|
|
||||||
def execute():
|
def execute():
|
||||||
frappe.reload_doctype("Sales Order Item")
|
for doctype in ("Sales Order Item", "Bin"):
|
||||||
|
frappe.reload_doctype(doctype)
|
||||||
|
|
||||||
repost_for = frappe.db.sql("""
|
repost_for = frappe.db.sql("""
|
||||||
select
|
select
|
||||||
|
Loading…
Reference in New Issue
Block a user