Remove unused taxes dictionary

This commit is contained in:
Cédric Krier committed 2020-11-15 18:16:31 +01:00
1 parent bc2f4f1bfb
commit 3f79169814
1 file changed
-1
-1
View File
@@ -475,7 +475,6 @@ class Purchase(
self.untaxed_amount = Decimal('0.0')
self.tax_amount = Decimal('0.0')
self.total_amount = Decimal('0.0')
taxes = {}
if self.lines:
for line in self.lines:
self.untaxed_amount += getattr(line, 'amount', None) or 0