mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-17 01:07:19 +00:00
Update save_stock_settings.py
This commit is contained in:
@@ -3,4 +3,5 @@ import frappe
|
||||
|
||||
def execute():
|
||||
stock_settings = frappe.get_doc('Stock Settings')
|
||||
stock_settings.save()
|
||||
stock_settings.flags.ignore_mandatory = True
|
||||
stock_settings.save()
|
||||
|
||||
Reference in New Issue
Block a user