feat: item wise tds calculation

This commit is contained in:
niralisatapara
2022-11-03 10:46:30 +05:30
parent ea387937d0
commit 12456f9850
4 changed files with 5 additions and 5 deletions

View File

@@ -1078,4 +1078,4 @@ class init_landed_taxes_and_totals(object):
def set_amounts_in_company_currency(self):
for d in self.doc.get(self.tax_field):
d.amount = flt(d.amount, d.precision("amount"))
d.base_amount = flt(d.amount * flt(d.exchange_rate), d.precision("base_amount"))
d.base_amount = flt(d.amount * flt(d.exchange_rate), d.precision("base_amount"))