From 7eda783dfd5277bbcb2aa8357643b3508e17c60f Mon Sep 17 00:00:00 2001 From: Samir Ladoui Date: Sun, 18 Jan 2026 12:01:53 +0100 Subject: [PATCH] [FIX] odex_takaful --- .../odex_takaful/security/security_data.xml | 20 ++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/odex25_takaful/odex_takaful/security/security_data.xml b/odex25_takaful/odex_takaful/security/security_data.xml index 0636605ba..0467ec997 100644 --- a/odex25_takaful/odex_takaful/security/security_data.xml +++ b/odex25_takaful/odex_takaful/security/security_data.xml @@ -151,7 +151,11 @@ Branch Manager: All Branch Sponsorships - ['|', ('branch_custom_id.branch.manager_id.user_id', 'in', [user.id, False]), ('branch_custom_id.branch', 'child_of', user.employee_id.department_id.id)] + [ + '|', + ('branch_custom_id.branch.manager_id.user_id', 'in', [user.id, False]), + ('branch_custom_id.branch', 'child_of', user.employee_id.department_id.id) + ] @@ -159,8 +163,11 @@ [ - '|', + '|', '|', '|', + ('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) ] @@ -173,12 +180,19 @@ - Sponsorship System Manager: See All + Sponsorship System Manager: See All Sponsorships [(1, '=', 1)] + + Sponsorship System Manager: See All Donations Lines + + + [(1, '=', 1)] + + Sponsorship Marketer: See Own/Dept Employees