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
2014-02-11 18:10:54 +01:00
parent 92760b76fa
commit f8de3a66b7
+1 -1
View File
@@ -6,7 +6,7 @@ this repository contains the full copyright notices and license terms. -->
<record model="ir.action.act_window" id="act_opportunity_form2">
<field name="name">Sales Leads/Opportunities</field>
<field name="res_model">sale.opportunity</field>
<field name="domain">[("party", "=", Eval('active_id'))]</field>
<field name="domain">[('party', '=', Eval('active_ids'))]</field>
</record>
<record model="ir.action.keyword"
id="act_open_sale_keyword1">