From 86fc4d4e199ad7c9ad09cc539964f00b6a69501c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Didderen?= Date: Tue, 1 Oct 2024 11:30:26 +0200 Subject: [PATCH] [FIX] contract_operating_unit - use same logic as other security rules --- contract_operating_unit/security/contract_security.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contract_operating_unit/security/contract_security.xml b/contract_operating_unit/security/contract_security.xml index 69858dcec6..cd8e3a8fc3 100644 --- a/contract_operating_unit/security/contract_security.xml +++ b/contract_operating_unit/security/contract_security.xml @@ -5,7 +5,7 @@ ['|',('operating_unit_id','=',False),('operating_unit_id','in',[g.id for g in user.operating_unit_ids])] + >['|',('operating_unit_id','=',False),('operating_unit_id','in',operating_unit_ids)] Contracts from allowed operating units