mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-06 21:59:13 +00:00
(cherry picked from commit c8d7a8c781)
Co-authored-by: Ankush <ankush@iwebnotes.com>
This commit is contained in:
@@ -10,6 +10,7 @@ def execute():
|
||||
if not frappe.db.has_column('Work Order', 'has_batch_no'):
|
||||
return
|
||||
|
||||
frappe.reload_doc('manufacturing', 'doctype', 'manufacturing_settings')
|
||||
if cint(frappe.db.get_single_value('Manufacturing Settings', 'make_serial_no_batch_from_work_order')):
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user