Use active_ids in form_relate

Only active_mode, active_id and active_ids can be used on relate domain because
it is the only values which could be sur to be present.
Also it always try to use active_ids over active_id to give more possibilities
to the user.

issue2474
review3261002
This commit is contained in:
Cédric Krier committed 2014-02-11 18:09:58 +01:00
1 parent addfef70ef
commit c6889b972f
1 file changed
+1 -1
+1 -1
View File
@@ -171,7 +171,7 @@ this repository contains the full copyright notices and license terms. -->
<record model="ir.action.act_window" id="act_dunning_party">
<field name="name">Dunnings</field>
<field name="res_model">account.dunning</field>
<field name="domain">[('line.party', '=', Eval('active_id'))]</field>
<field name="domain">[('line.party', 'in', Eval('active_ids'))]</field>
</record>
<record model="ir.action.act_window.view" id="act_dunning_party_view1">
<field name="sequence" eval="10"/>