From 9c70b035d4e19ce54e12d5ba4b130d2a4d5f69a8 Mon Sep 17 00:00:00 2001 From: Samir Ladoui Date: Thu, 22 Jan 2026 18:24:38 +0100 Subject: [PATCH] [FIX] odex_takaful --- odex25_takaful/odex_takaful/security/security_data.xml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/odex25_takaful/odex_takaful/security/security_data.xml b/odex25_takaful/odex_takaful/security/security_data.xml index b0ef12236..632c44b54 100644 --- a/odex25_takaful/odex_takaful/security/security_data.xml +++ b/odex25_takaful/odex_takaful/security/security_data.xml @@ -186,17 +186,14 @@ [ - '|', '|', '|', '|', '|', '|', + '|', '|', '|', '|', ('create_uid', '=', user.id), ('create_uid.employee_id.department_id.manager_id.user_id', 'in', [user.id, False]), ('create_uid.employee_id.department_id', 'child_of', user.employee_id.department_id.id), ('sponsorship_id.branch_custom_id.branch.manager_id.user_id', 'in', [user.id, False]), - ('sponsorship_id.branch_custom_id.branch', 'child_of', user.employee_id.department_id.id), - - ('sponsorship_mechanism_id.branch_custom_id.branch.manager_id.user_id', 'in', [user.id, False]), - ('sponsorship_mechanism_id.branch_custom_id.branch', 'child_of', user.employee_id.department_id.id) + ('sponsorship_id.branch_custom_id.branch', 'child_of', user.employee_id.department_id.id) ]