Improve relate domain inversion when single record
issue5475 review33801002
This commit is contained in:
1 parent
34ad3f46a0
commit
3b55455cc1
1 file changed
+4
-2
@@ -13,7 +13,8 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<field name="name">Customer Shipments</field>
|
||||
<field name="res_model">stock.shipment.out</field>
|
||||
<field name="domain"
|
||||
eval="[('customer', 'in', Eval('active_ids'))]" pyson="1"/>
|
||||
eval="[If(Eval('active_ids', []) == [Eval('active_id')], ('customer', '=', Eval('active_id')), ('customer', 'in', Eval('active_ids')))]"
|
||||
pyson="1"/>
|
||||
</record>
|
||||
<record model="ir.action.keyword"
|
||||
id="act_open_purchase_keyword1">
|
||||
@@ -31,7 +32,8 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<field name="name">Supplier Shipments</field>
|
||||
<field name="res_model">stock.shipment.in</field>
|
||||
<field name="domain"
|
||||
eval="[('supplier', 'in', Eval('active_ids'))]" pyson="1"/>
|
||||
eval="[If(Eval('active_ids', []) == [Eval('active_id')], ('supplier', '=', Eval('active_id')), ('supplier', 'in', Eval('active_ids')))]"
|
||||
pyson="1"/>
|
||||
</record>
|
||||
<record model="ir.action.keyword"
|
||||
id="act_open_purchase_keyword2">
|
||||
|
||||
Reference in new issue
Block a user