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:10:01 +01:00
1 parent d07688d728
commit 10014d4f8f
1 file changed
+1 -1
+1 -1
View File
@@ -23,7 +23,7 @@ this repository contains the full copyright notices and license terms. -->
<record model="ir.action.act_window" id="act_invoice_form2">
<field name="name">Invoices</field>
<field name="res_model">account.invoice</field>
<field name="domain">[("party", "=", Eval('active_id'))]</field>
<field name="domain">[('party', 'in', Eval('active_ids'))]</field>
</record>
<record model="ir.action.keyword"
id="act_open_invoice_keyword1">