From 2c08370045a7878658f142dffbc2bc6e3be3b4f7 Mon Sep 17 00:00:00 2001 From: Laurent Smet Date: Wed, 22 Mar 2017 10:41:48 +0100 Subject: [PATCH] [FIX] account: fix missing default type through context --- addons/account/views/account_invoice_view.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/account/views/account_invoice_view.xml b/addons/account/views/account_invoice_view.xml index b313f1dc431..babb93d9cf5 100644 --- a/addons/account/views/account_invoice_view.xml +++ b/addons/account/views/account_invoice_view.xml @@ -730,6 +730,7 @@ tree,kanban,form,calendar,pivot,graph [('type','=','in_refund')] + {'default_type': 'in_refund', 'journal_type': 'purchase'}