diff --git a/party.xml b/party.xml
index ffb8e7001a..6c953d91b0 100644
--- a/party.xml
+++ b/party.xml
@@ -7,7 +7,8 @@ this repository contains the full copyright notices and license terms. -->
Sales
sale.sale
+ eval="[If(Eval('active_ids', []) == [Eval('active_id')], ('party', '=', Eval('active_id')), ('party', 'in', Eval('active_ids')))]"
+ pyson="1"/>
diff --git a/sale.xml b/sale.xml
index 8ce0d02a98..733a1bd315 100644
--- a/sale.xml
+++ b/sale.xml
@@ -72,7 +72,7 @@ this repository contains the full copyright notices and license terms. -->
Shipments
stock.shipment.out
Returns
stock.shipment.out.return
@@ -97,7 +97,7 @@ this repository contains the full copyright notices and license terms. -->
Invoices
account.invoice
Sales
sale.sale
Sales
sale.sale