From abdd0bc2577918059609eb9e88257ec7f0ca0a31 Mon Sep 17 00:00:00 2001 From: "Habib (ayh)" Date: Tue, 25 May 2021 21:26:42 +0000 Subject: [PATCH] [IMP] account: enable visibility of cancelled journal items MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The default tree view action (debug mode) of account.move.line currently hides lines in the cancelled state. This commit modifies the default domain on the action. Users can now filter and group all lines part 3 of task (2486685)[https://www.odoo.com/web#id=2486685&model=project.task] closes odoo/odoo#71392 Signed-off-by: William André (wan) --- addons/account/views/account_move_views.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account/views/account_move_views.xml b/addons/account/views/account_move_views.xml index da8ee43f12f..855ced734d6 100644 --- a/addons/account/views/account_move_views.xml +++ b/addons/account/views/account_move_views.xml @@ -1404,7 +1404,7 @@ {'journal_type':'general', 'search_default_posted':1} Journal Items account.move.line - [('display_type', 'not in', ('line_section', 'line_note')), ('move_id.state', '!=', 'cancel')] + [('display_type', 'not in', ('line_section', 'line_note'))] tree,pivot,graph,form,kanban