diff --git a/erpnext/patches/v7_1/save_stock_settings.py b/erpnext/patches/v7_1/save_stock_settings.py index a87f6a42a0..83c27dc461 100644 --- a/erpnext/patches/v7_1/save_stock_settings.py +++ b/erpnext/patches/v7_1/save_stock_settings.py @@ -3,4 +3,5 @@ import frappe def execute(): stock_settings = frappe.get_doc('Stock Settings') - stock_settings.save() \ No newline at end of file + stock_settings.flags.ignore_mandatory = True + stock_settings.save()