Remove unused taxes dictionary
This commit is contained in:
1 parent
bc2f4f1bfb
commit
3f79169814
1 file changed
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user