brotherton-erpnext/erpnext/patches/v7_1/save_stock_settings.py

6 lines
143 B
Python
Raw Normal View History

2016-10-27 18:26:04 +00:00
from __future__ import unicode_literals
import frappe
def execute():
stock_settings = frappe.get_doc('Stock Settings')
stock_settings.save()