Update set_b2c_limit.py

This commit is contained in:
Nabin Hait 2018-02-15 18:12:27 +05:30 committed by GitHub
parent 44658d44c5
commit 0c7ce02e54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,6 +6,7 @@ import frappe
def execute():
frappe.reload_doc("regional", "doctype", "gst_settings")
frappe.reload_doc("regional", "doctype", "gst_account")
gst_settings = frappe.get_doc("GST Settings")
gst_settings.b2c_limit = 250000
gst_settings.save()