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:11:00 +01:00
1 parent ba81d4bbf0
commit 89ff0f893d
1 file changed
+2 -2
+2 -2
View File
@@ -6,7 +6,7 @@ this repository contains the full copyright notices and license terms. -->
<record model="ir.action.act_window" id="act_shipment_out_form2">
<field name="name">Customer Shipments</field>
<field name="res_model">stock.shipment.out</field>
<field name="domain">[("customer", "=", Eval('active_id'))]</field>
<field name="domain">[('customer', 'in', Eval('active_ids'))]</field>
</record>
<record model="ir.action.keyword"
id="act_open_purchase_keyword1">
@@ -23,7 +23,7 @@ this repository contains the full copyright notices and license terms. -->
<record model="ir.action.act_window" id="act_shipment_out_form3">
<field name="name">Supplier Shipments</field>
<field name="res_model">stock.shipment.in</field>
<field name="domain">[("supplier", "=", Eval('active_id'))]</field>
<field name="domain">[('supplier', 'in', Eval('active_ids'))]</field>
</record>
<record model="ir.action.keyword"
id="act_open_purchase_keyword2">