From fbcab231643542ed44b8ff13ae22fe50ddaa7770 Mon Sep 17 00:00:00 2001 From: oco-odoo Date: Tue, 29 Sep 2020 12:02:42 +0000 Subject: [PATCH] [IMP] account: usability improvements closes odoo/odoo#58826 Signed-off-by: Laurent Smet --- addons/account/views/account_move_views.xml | 22 ++++++++++++++++--- .../wizard/account_move_reversal_view.xml | 1 - 2 files changed, 19 insertions(+), 4 deletions(-) diff --git a/addons/account/views/account_move_views.xml b/addons/account/views/account_move_views.xml index 74ebb217179..b0dbf93d257 100644 --- a/addons/account/views/account_move_views.xml +++ b/addons/account/views/account_move_views.xml @@ -446,6 +446,22 @@ + + account.out.invoice.tree + account.move + + primary + + + show + + + + hide + + + + account.move.kanban account.move @@ -1342,7 +1358,7 @@ Bills account.move tree,kanban,form - + [('move_type', '=', 'in_invoice')] {'default_move_type': 'in_invoice'} @@ -1359,7 +1375,7 @@ Refunds account.move tree,kanban,form - + [('move_type', '=', 'in_refund')] {'default_move_type': 'in_refund'} @@ -1394,7 +1410,7 @@ Receipts account.move tree,kanban,form - + [('move_type', '=', 'in_receipt')] {'default_move_type': 'in_receipt'} diff --git a/addons/account/wizard/account_move_reversal_view.xml b/addons/account/wizard/account_move_reversal_view.xml index 6f47a8b1cbc..2939a3f78c2 100644 --- a/addons/account/wizard/account_move_reversal_view.xml +++ b/addons/account/wizard/account_move_reversal_view.xml @@ -10,7 +10,6 @@ - Invoices/>Bills won't be reversed but credit notes will be created instead: the tax tags will be adapted accordingly.