Merge pull request #19683 from rohitwaghchaure/bom_ux_fixes_version_12

fix: BOM UX
This commit is contained in:
rohitwaghchaure
2019-11-26 13:15:40 +05:30
committed by GitHub
11 changed files with 234 additions and 918 deletions

View File

@@ -15,13 +15,6 @@ def execute():
rename_field(doctype, "allow_transfer_for_manufacture", "include_item_in_manufacturing")
if frappe.db.has_column('BOM', 'allow_same_item_multiple_times'):
frappe.db.sql(""" UPDATE tabBOM
SET
allow_same_item_multiple_times = 0
WHERE
trim(coalesce(allow_same_item_multiple_times, '')) = '' """)
for doctype in ['BOM', 'Work Order']:
frappe.reload_doc('manufacturing', 'doctype', frappe.scrub(doctype))