fix in tax calc in tax_controller
This commit is contained in:
parent
206bd53b35
commit
dbb9759002
@ -140,7 +140,7 @@ class TaxController(TransactionController):
|
|||||||
self.doc.net_total = flt(self.doc.net_total, self.precision.main.net_total)
|
self.doc.net_total = flt(self.doc.net_total, self.precision.main.net_total)
|
||||||
self.doc.fields[self.fmap.net_total_print] = \
|
self.doc.fields[self.fmap.net_total_print] = \
|
||||||
flt(self.doc.fields.get(self.fmap.net_total_print),
|
flt(self.doc.fields.get(self.fmap.net_total_print),
|
||||||
self.precision.main[self.fmap.net_total_print])
|
self.precision.main.get(self.fmap.net_total_print))
|
||||||
|
|
||||||
def calculate_taxes(self):
|
def calculate_taxes(self):
|
||||||
for item in self.item_doclist:
|
for item in self.item_doclist:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user