From 3f79169814014ceaa125328a9f4804765b23bc85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sun, 15 Nov 2020 18:16:31 +0100 Subject: [PATCH] Remove unused taxes dictionary --- purchase.py | 1 - 1 file changed, 1 deletion(-) diff --git a/purchase.py b/purchase.py index 1c34cbadf6..d247ce0d3b 100644 --- a/purchase.py +++ b/purchase.py @@ -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