[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 <smetl@users.noreply.github.com>
Signed-off-by: Quentin De Paoli (qdp) <qdp@openerp.com>
This commit is contained in:
fw-bot
2020-03-23 08:08:11 +00:00
committed by Jigar Vaghela
parent 83ffe8b50b
commit 7f944bc664
+1 -1
View File
@@ -1230,7 +1230,7 @@
<field name="context">{'journal_type':'general', 'search_default_posted':1}</field>
<field name="name">Journal Items</field>
<field name="res_model">account.move.line</field>
<field name="domain">[('display_type', 'not in', ('line_section', 'line_note'))]</field>
<field name="domain">[('display_type', 'not in', ('line_section', 'line_note')), ('move_id.state', '!=', 'cancel')]</field>
<field name="view_id" ref="view_move_line_tree"/>
<field name="view_mode">tree,pivot,graph,form,kanban</field>
</record>