[FIX] missing call to super (finalize_invoice_move_lines)

This commit is contained in:
Lorenzo Battistini
2015-01-05 14:15:52 +01:00
committed by Dũng (Trần Đình)
parent 80a2bc9635
commit 9ff798203d

View File

@@ -38,6 +38,8 @@ class AccountInvoice(models.Model):
The transaction id is written on the move lines only if the account is
the same than the invoice's one.
"""
move_lines = super(AccountInvoice, self).finalize_invoice_move_lines(
move_lines)
for invoice in self:
if invoice.transaction_id:
invoice_account_id = invoice.account_id.id