Update set_b2c_limit.py

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

View File

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