Always return list of taxes
issue11005 review377621002
This commit is contained in:
1 parent
e152513b2d
commit
be7c00ff70
1 file changed
+1
-1
+1
-1
@@ -2154,7 +2154,7 @@ class InvoiceLine(sequence_ordered(), ModelSQL, ModelView, TaxableMixin):
|
||||
else:
|
||||
deductible_rate = 1
|
||||
return [(
|
||||
getattr(self, 'taxes', None) or [],
|
||||
list(getattr(self, 'taxes', None)) or [],
|
||||
((getattr(self, 'unit_price', None) or Decimal(0))
|
||||
* deductible_rate),
|
||||
getattr(self, 'quantity', None) or 0,
|
||||
|
||||
Reference in new issue
Block a user