fix: dependent codes updated

This commit is contained in:
rahib-hassan
2022-04-14 15:48:55 +05:30
parent 0eff74c650
commit 01fde15bd5
3 changed files with 7 additions and 7 deletions

View File

@@ -1080,7 +1080,7 @@ class AccountsController(TransactionBase):
def make_discount_gl_entries(self, gl_entries):
enable_discount_accounting = cint(
frappe.db.get_single_value("Accounts Settings", "enable_discount_accounting")
frappe.db.get_single_value("Selling Settings", "enable_discount_accounting")
)
if enable_discount_accounting: