diff --git a/account_menu_invoice_refund/__manifest__.py b/account_menu_invoice_refund/__manifest__.py index 9c9908846a9..b71eb2fbf81 100644 --- a/account_menu_invoice_refund/__manifest__.py +++ b/account_menu_invoice_refund/__manifest__.py @@ -3,7 +3,7 @@ { "name": "Account Menu - Invoice & Refund", - "version": "13.0.1.0.0", + "version": "16.0.1.0.0", "summary": "New invoice menu that combine invoices and refunds", "category": "Accounting & Finance", "author": "Ecosoft, " "Odoo Community Association (OCA)", diff --git a/account_menu_invoice_refund/views/account_invoice_view.xml b/account_menu_invoice_refund/views/account_invoice_view.xml index 95f65796bcf..1dff40f6f49 100644 --- a/account_menu_invoice_refund/views/account_invoice_view.xml +++ b/account_menu_invoice_refund/views/account_invoice_view.xml @@ -7,8 +7,10 @@ account.move tree,form - [('type', 'in', ('out_invoice', 'out_refund'))] - {'type':'out_invoice', 'journal_type': 'sale'} + [('move_type', 'in', ('out_invoice', 'out_refund'))] + {'default_move_type':'out_invoice'}

@@ -43,8 +45,8 @@ account.move tree,form - [('type', 'in', ('in_invoice', 'in_refund'))] - {'type':'in_invoice', 'journal_type': 'purchase'} + [('move_type', 'in', ('in_invoice', 'in_refund'))] + {'default_move_type':'in_invoice'}