Skip to content

Commit

Permalink
[IMP][account_invoice_split] Recompute tax after split
Browse files Browse the repository at this point in the history
  • Loading branch information
adrienpeiffer committed Sep 14, 2016
1 parent aa51451 commit 4d9fa0b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions account_invoice_split/wizard/account_invoice_split.py
Expand Up @@ -110,6 +110,8 @@ def _split_invoice(self):
line.origin_invoice_line_id.sudo().unlink()
invoice_lines.append((4, new_invoice_line.id))
new_invoice = self._create_invoice(invoice_to_split, invoice_lines)
new_invoice.button_reset_taxes()
invoice_to_split.button_reset_taxes()
return new_invoice.id

@api.multi
Expand Down

0 comments on commit 4d9fa0b

Please sign in to comment.