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'}