mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-19 04:59:18 +00:00
refactor: use correct method parameters
This commit is contained in:
@@ -134,8 +134,8 @@ class calculate_taxes_and_totals:
|
||||
def update_item_tax_map(self):
|
||||
for item in self.doc.items:
|
||||
item.item_tax_rate = get_item_tax_map(
|
||||
doc=self.doc,
|
||||
tax_template=item.item_tax_template,
|
||||
company=self.doc.get("company"),
|
||||
item_tax_template=item.item_tax_template,
|
||||
as_json=True,
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user