From d12dc84209e0c193051d93744bd159831bd41293 Mon Sep 17 00:00:00 2001 From: Damien Bouvy Date: Fri, 23 Sep 2016 10:10:38 +0200 Subject: [PATCH] [FIX] account: remove default_type from context This key causes problems down the line (since account.asset.asset have a type field as well) caused by context propagation. The key is not required anyway, since out_invoice is the default type. --- addons/account/views/account_invoice_view.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account/views/account_invoice_view.xml b/addons/account/views/account_invoice_view.xml index 60e4dc3cb67..e8d19598d52 100644 --- a/addons/account/views/account_invoice_view.xml +++ b/addons/account/views/account_invoice_view.xml @@ -601,7 +601,7 @@ tree,kanban,form,calendar,pivot,graph [('type','in',('out_invoice', 'out_refund'))] - {'default_type':'out_invoice', 'type':'out_invoice', 'journal_type': 'sale'} + {'type':'out_invoice', 'journal_type': 'sale'}