diff --git a/party.xml b/party.xml
index 2d2003418f..285f699e93 100644
--- a/party.xml
+++ b/party.xml
@@ -7,7 +7,8 @@ this repository contains the full copyright notices and license terms. -->
Purchases
purchase.purchase
+ eval="[If(Eval('active_ids', []) == [Eval('active_id')], ('party', '=', Eval('active_id')), ('party', 'in', Eval('active_ids')))]"
+ pyson="1"/>
diff --git a/purchase.xml b/purchase.xml
index 22504b6846..531d0f6802 100644
--- a/purchase.xml
+++ b/purchase.xml
@@ -70,7 +70,7 @@ this repository contains the full copyright notices and license terms. -->
Shipments
stock.shipment.in
Returns
stock.shipment.in.return
account.invoice
Purchases
purchase.purchase
+ eval="[If(Eval('active_ids', []) == [Eval('active_id')], ('invoices', '=', Eval('active_id')), ('invoices', 'in', Eval('active_ids')))]"
+ pyson="1"/>
@@ -461,7 +462,7 @@ this repository contains the full copyright notices and license terms. -->
Prices
purchase.product_supplier.price