From 222e7915a62c1e11a9e2d4b66c628a984af8b894 Mon Sep 17 00:00:00 2001 From: Martin Trigaux Date: Tue, 27 May 2014 10:16:44 +0200 Subject: [PATCH] [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 --- addons/account/account_invoice_view.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ - + -- 1.7.10.4