Reload explosion and scrap items docs
This commit is contained in:
parent
d53dd7f4c9
commit
7055446508
@ -6,6 +6,8 @@ import frappe
|
||||
|
||||
def execute():
|
||||
frappe.reload_doc('manufacturing', 'doctype', 'bom_item')
|
||||
frappe.reload_doc('manufacturing', 'doctype', 'bom_explosion_item')
|
||||
frappe.reload_doc('manufacturing', 'doctype', 'bom_scrap_item')
|
||||
frappe.db.sql("update `tabBOM Item` set stock_qty = qty, uom = stock_uom")
|
||||
frappe.db.sql("update `tabBOM Explosion Item` set stock_qty = qty")
|
||||
frappe.db.sql("update `tabBOM Scrap Item` set stock_qty = qty")
|
Loading…
x
Reference in New Issue
Block a user