mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 16:04:46 +00:00
Update save_stock_settings.py
This commit is contained in:
@@ -3,4 +3,5 @@ import frappe
|
|||||||
|
|
||||||
def execute():
|
def execute():
|
||||||
stock_settings = frappe.get_doc('Stock Settings')
|
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