fix: tabspacing
This commit is contained in:
parent
bfaaebde0d
commit
0eff74c650
@ -1,8 +1,9 @@
|
|||||||
import frappe
|
import frappe
|
||||||
|
|
||||||
|
|
||||||
def execute():
|
def execute():
|
||||||
doc = frappe.get_doc("Accounts Settings")
|
doc = frappe.get_doc("Accounts Settings")
|
||||||
discount_account = doc.enable_discount_accounting
|
discount_account = doc.enable_discount_accounting
|
||||||
if discount_account:
|
if discount_account:
|
||||||
for doctype in ["Buying Settings", "Selling Settings"]:
|
for doctype in ["Buying Settings", "Selling Settings"]:
|
||||||
frappe.db.set_value(doctype, doctype, 'enable_discount_accounting', 1, update_modified=False)
|
frappe.db.set_value(doctype, doctype, "enable_discount_accounting", 1, update_modified=False)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user