diff --git a/party.xml b/party.xml
index 4585ce7d7e..90ed4ca515 100644
--- a/party.xml
+++ b/party.xml
@@ -13,7 +13,8 @@ this repository contains the full copyright notices and license terms. -->
Customer Shipments
stock.shipment.out
+ eval="[If(Eval('active_ids', []) == [Eval('active_id')], ('customer', '=', Eval('active_id')), ('customer', 'in', Eval('active_ids')))]"
+ pyson="1"/>
@@ -31,7 +32,8 @@ this repository contains the full copyright notices and license terms. -->
Supplier Shipments
stock.shipment.in
+ eval="[If(Eval('active_ids', []) == [Eval('active_id')], ('supplier', '=', Eval('active_id')), ('supplier', 'in', Eval('active_ids')))]"
+ pyson="1"/>