Update save_stock_settings.py
This commit is contained in:
parent
4c22825f01
commit
5fc624b9ed
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user