[patch] Update item description in Production Order based on item master

This commit is contained in:
Nabin Hait 2015-08-11 18:28:24 +05:30
parent 57ca765d9e
commit c51d5ba5df

View File

@ -190,3 +190,4 @@ erpnext.patches.v5_4.fix_invoice_outstanding
execute:frappe.db.sql("update `tabStock Ledger Entry` set stock_queue = '[]' where voucher_type = 'Stock Reconciliation' and ifnull(qty_after_transaction, 0) = 0")
erpnext.patches.v5_4.fix_missing_item_images
erpnext.patches.v5_4.stock_entry_additional_costs
execute:frappe.db.sql("update `tabProduction Order` pro set description = (select description from tabItem where name=pro.production_item) where ifnull(description, '') = ''")