Do not use equal operator in inverted domain of xxx2Many

The clients will try to enforce to have only a single record with the value.

issue10958
review389251002
This commit is contained in:
Cédric Krier committed 2021-11-24 00:59:41 +01:00
1 parent d7eb4fc560
commit f0151da03e
1 file changed
+1 -1
+1 -1
View File
@@ -142,7 +142,7 @@ this repository contains the full copyright notices and license terms. -->
<field name="name">Statement Lines</field>
<field name="res_model">account.statement.line</field>
<field name="domain"
eval="[If(Eval('active_ids', []) == [Eval('active_id')], ('move.lines', '=', Eval('active_id')), ('move.lines', 'in', Eval('active_ids')))]"
eval="[('move.lines', 'in', Eval('active_ids'))]"
pyson="1"/>
</record>
<record model="ir.action.keyword" id="act_statement_line_move_line_keyword1">