From b7817b752c764cd01a149537b3d305c9b4a27a10 Mon Sep 17 00:00:00 2001 From: gsinghpal Date: Thu, 7 May 2026 07:52:13 -0400 Subject: [PATCH] feat(fusion_planning): hide Role field from Add Shift dialog Role is still auto-pulled from the employee's Default Role on the employee profile (planning.slot._compute_role_id reads resource_id.default_role_id). Hiding the manual Role field declutters the Add Shift dialog so the manager doesn't have to think about it on each shift. If a shift needs a one-off role override, an admin can still set it via the backend list view or by editing the resource's default role. Co-Authored-By: Claude Opus 4.7 (1M context) --- fusion_planning/__manifest__.py | 2 +- fusion_planning/views/planning_slot_views.xml | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/fusion_planning/__manifest__.py b/fusion_planning/__manifest__.py index 1cc9e100..8ad83070 100644 --- a/fusion_planning/__manifest__.py +++ b/fusion_planning/__manifest__.py @@ -5,7 +5,7 @@ { 'name': 'Fusion Planning', - 'version': '19.0.1.1.0', + 'version': '19.0.1.1.1', 'category': 'Human Resources/Planning', 'summary': 'Fusion Clock bridge to Odoo Planning - employee schedule on the portal', 'description': """ diff --git a/fusion_planning/views/planning_slot_views.xml b/fusion_planning/views/planning_slot_views.xml index 818b3572..92bdc202 100644 --- a/fusion_planning/views/planning_slot_views.xml +++ b/fusion_planning/views/planning_slot_views.xml @@ -16,6 +16,12 @@ invisible="id" groups="planning.group_planning_manager"/> + + + 1 +