From e30ea5647d92424bb98d2d6201764127f33a362d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Mon, 27 Jun 2016 10:54:25 +0200 Subject: [PATCH] [IMP] account: adding the invoice.tax.line id in tax_line_move_line_get() to allow inheritance. Was PR #12576. Courtesy from sbidoul --- addons/account/models/account_invoice.py | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/account/models/account_invoice.py b/addons/account/models/account_invoice.py index ba3c84e7525..c7b0a5eaad4 100644 --- a/addons/account/models/account_invoice.py +++ b/addons/account/models/account_invoice.py @@ -672,6 +672,7 @@ class AccountInvoice(models.Model): for tax_line in self.tax_line_ids: if tax_line.amount: res.append({ + 'invoice_tax_line_id': tax_line.id, 'tax_line_id': tax_line.tax_id.id, 'type': 'tax', 'name': tax_line.name,