fix: Ignore permissions while fetching module settings properties

This commit is contained in:
Nabin Hait
2024-04-07 11:33:40 +05:30
parent 8b9079d62e
commit f61faa85a1
7 changed files with 65 additions and 18 deletions

View File

@@ -1091,6 +1091,11 @@ def get_rounded_tax_amount(itemised_tax, precision):
row["tax_amount"] = flt(row["tax_amount"], precision)
@frappe.whitelist()
def get_rounding_tax_settings():
return frappe.db.get_single_value("Accounts Settings", "round_row_wise_tax")
class init_landed_taxes_and_totals:
def __init__(self, doc):
self.doc = doc