mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-28 17:34:47 +00:00
fix: co by product patch for v14 migration (#53644)
This commit is contained in:
@@ -15,7 +15,8 @@ def copy_doctypes():
|
|||||||
try:
|
try:
|
||||||
insert_into_bom()
|
insert_into_bom()
|
||||||
insert_into_job_card()
|
insert_into_job_card()
|
||||||
insert_into_subcontracting_inward()
|
if frappe.db.has_table("Subcontracting Inward Order Scrap Item"):
|
||||||
|
insert_into_subcontracting_inward()
|
||||||
finally:
|
finally:
|
||||||
frappe.db.auto_commit_on_many_writes = previous
|
frappe.db.auto_commit_on_many_writes = previous
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user