chore: linters
This commit is contained in:
parent
c20258d2a3
commit
dfb5b88abb
@ -25,8 +25,8 @@ class calculate_taxes_and_totals(object):
|
|||||||
def __init__(self, doc: Document):
|
def __init__(self, doc: Document):
|
||||||
self.doc = doc
|
self.doc = doc
|
||||||
frappe.flags.round_off_applicable_accounts = []
|
frappe.flags.round_off_applicable_accounts = []
|
||||||
frappe.flags.round_row_wise_tax = (
|
frappe.flags.round_row_wise_tax = frappe.db.get_single_value(
|
||||||
frappe.db.get_single_value("Accounts Settings", "round_row_wise_tax")
|
"Accounts Settings", "round_row_wise_tax"
|
||||||
)
|
)
|
||||||
|
|
||||||
self._items = self.filter_rows() if self.doc.doctype == "Quotation" else self.doc.get("items")
|
self._items = self.filter_rows() if self.doc.doctype == "Quotation" else self.doc.get("items")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user