From 7f944bc664d20a2e855431ff39ad85ef241dec68 Mon Sep 17 00:00:00 2001 From: fw-bot Date: Tue, 3 Mar 2020 15:47:36 +0000 Subject: [PATCH] [FIX] account: Exclude journal entries from account.move.line In this commit, domain has been put in the action_account_moves_all in order to exclude the totally cancelled journal entries task:2028813 closes odoo/odoo#48161 X-original-commit: d50eae4c76ad280fe4480fea06d612fbfe349614 Signed-off-by: Laurent Smet Signed-off-by: Quentin De Paoli (qdp) --- 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 f0e36fddd99..e7e7d48ffc9 100644 --- a/addons/account/views/account_move_views.xml +++ b/addons/account/views/account_move_views.xml @@ -1230,7 +1230,7 @@ {'journal_type':'general', 'search_default_posted':1} Journal Items account.move.line - [('display_type', 'not in', ('line_section', 'line_note'))] + [('display_type', 'not in', ('line_section', 'line_note')), ('move_id.state', '!=', 'cancel')] tree,pivot,graph,form,kanban