Feedback 1672: Rechnungen, Händlerrabatt

develop
Ahmed Aly 2018-05-08 15:07:14 +02:00
parent c9a737cf5d
commit 41446a14ee
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ class AccountInvoice(models.Model):
for record in self:
_sum = 0
for line in record.invoice_line_ids:
_sum += line.weight * line.quantity
_sum += line.weight * line.quantity if not line.dealer_discount else 0.0
record.weight_total = _sum
@api.multi