Skip to content

Commit

Permalink
Merge pull request #320 from akretion/8.0-fix-invoice-total
Browse files Browse the repository at this point in the history
[FIX] account invoice total
  • Loading branch information
renatonlima committed May 27, 2016
2 parents 1d2709c + 5ee08a6 commit 25a7a6f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions l10n_br_account_product/models/account_invoice.py
Expand Up @@ -73,8 +73,7 @@ def _compute_amount(self):
self.amount_tax = sum(tax.amount
for tax in self.tax_line
if not tax.tax_code_id.tax_discount)
self.amount_total = self.amount_tax + self.amount_untaxed + \
self.amount_costs + self.amount_insurance + self.amount_freight
self.amount_total = self.amount_tax + self.amount_untaxed

for line in self.invoice_line:
if line.icms_cst_id.code not in (
Expand Down

0 comments on commit 25a7a6f

Please sign in to comment.