mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-21 11:15:10 +00:00
fix[minor]: removed doc assignment
This commit is contained in:
@@ -5,4 +5,4 @@ def execute():
|
||||
discount_account = doc.enable_discount_accounting
|
||||
if discount_account:
|
||||
for doctype in ["Buying Settings", "Selling Settings"]:
|
||||
doc = 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)
|
||||
Reference in New Issue
Block a user