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:13 +01:00
1 parent 337902328f
commit a0f7ce8211
1 file changed
+1 -1
+1 -1
View File
@@ -35,7 +35,7 @@ this repository contains the full copyright notices and license terms. -->
<record model="ir.action.act_window" id="act_line_form_work">
<field name="name">Timesheet Lines</field>
<field name="res_model">timesheet.line</field>
<field name="domain">[('work', '=', Eval('id'))]</field>
<field name="domain">[('work', 'in', Eval('active_ids'))]</field>
</record>
<record model="ir.action.act_window.view"
id="act_line_form_work_view1">