|
|
@@ -959,7 +959,7 @@ class AbstractLine(models.Model):
|
|
959
|
959
|
|
|
960
|
960
|
excl_tax_discounts = self.discounts.excl_tax
|
|
961
|
961
|
if excl_tax_discounts:
|
|
962
|
|
- # there are discounts that return a value excluding tax, we can simply
|
|
|
962
|
+ # these are discounts that return a value excluding tax, we can simply
|
|
963
|
963
|
# subtract this value from line_price_excl_tax to get to line_price_excl_tax_incl_discounts
|
|
964
|
964
|
return max(0, self.line_price_excl_tax - excl_tax_discounts)
|
|
965
|
965
|
|