[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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user