From 296130fbd30e2603211ea7ce18137d32505290f0 Mon Sep 17 00:00:00 2001 From: Goffin Simon Date: Fri, 24 Apr 2015 12:46:09 +0200 Subject: [PATCH] [FIX] account: Invoice's creation problem The action window "action_invoice_refund_out_tree" must have the same context that "action_invoice_tree1" opw:633635 --- 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 8f61e951073..36dedc08ee3 100644 --- a/addons/account/account_invoice_view.xml +++ b/addons/account/account_invoice_view.xml @@ -504,7 +504,7 @@ tree,form,calendar,graph [('type','in', ['out_invoice', 'out_refund']), ('state', 'not in', ['draft', 'cancel'])] - {'type':False} + {'default_type':'out_invoice', 'type':'out_invoice', 'journal_type': 'sale'}