From: Martin Trigaux Date: Tue, 27 May 2014 08:16:44 +0000 (+0200) Subject: [FIX] account: safer access to parent in invoice line form X-Git-Tag: 8.0.0~25^2~24^2~142^2~1^2 X-Git-Url: http://git.inspyration.org/?a=commitdiff_plain;h=222e7915a62c1e11a9e2d4b66c628a984af8b894;p=odoo%2Fodoo.git [FIX] account: safer access to parent in invoice line form In the account.invoice.line form, do not assume the parent is defined when evaluating the context to invoice_line_tax_id as we could come from another view (e.g.: purchase order line form). Fixes #206 --- diff --git a/addons/account/account_invoice_view.xml b/addons/account/account_invoice_view.xml index 947aad4..2c76811 100644 --- a/addons/account/account_invoice_view.xml +++ b/addons/account/account_invoice_view.xml @@ -60,7 +60,7 @@ - +