You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
help="Technical field holding the number given to the journal entry, automatically set when the statement line is reconciled then stored to set the same number again if the line is cancelled, set to draft and re-processed again.")
'account_id': self.typein ('out_invoice', 'in_invoice') and (tax['account_id'] orline.account_id.id) or (tax['refund_account_id'] orline.account_id.id),
'account_id': self.typein ('out_invoice', 'in_invoice') and (tax['account_id'] orline.account_id.id) or (tax['refund_account_id'] orline.account_id.id),
611
-
}
624
+
val=self._prepare_tax_line_vals(line, tax)
612
625
613
626
# If the taxes generate moves on the same financial account as the invoice line,
614
627
# propagate the analytic account from the invoice line to the tax line.
@@ -623,6 +636,7 @@ def get_taxes_values(self):
623
636
tax_grouped[key] =val
624
637
else:
625
638
tax_grouped[key]['amount'] +=val['amount']
639
+
tax_grouped[key]['base'] +=val['base']
626
640
returntax_grouped
627
641
628
642
@api.multi
@@ -1336,15 +1350,19 @@ class AccountInvoiceTax(models.Model):
0 commit comments