feat(fusion_planning): add Employee Roles editor under Planning > Configuration

New menu "Planning > Configuration > Employee Roles" opens an editable
list of all active employees with two columns made for fast bulk
assignment:
- Default Role (m2o, fills new shifts automatically)
- All Allowed Roles (m2m tags, controls open-shift visibility)

Per-row inline editing with multi_edit enabled, grouped by department.
No wizard, no popup — set role per employee in one screen and move on.

Visible to planning.group_planning_manager.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
gsinghpal
2026-05-07 08:04:23 -04:00
parent b7817b752c
commit 6c6a59ceef
2 changed files with 61 additions and 1 deletions

View File

@@ -5,7 +5,7 @@
{
'name': 'Fusion Planning',
'version': '19.0.1.1.1',
'version': '19.0.1.2.0',
'category': 'Human Resources/Planning',
'summary': 'Fusion Clock bridge to Odoo Planning - employee schedule on the portal',
'description': """
@@ -27,6 +27,7 @@ Adds Odoo Planning to the Fusion Clock product family:
],
'data': [
'views/planning_slot_views.xml',
'views/hr_employee_role_views.xml',
'views/portal_schedule_templates.xml',
'views/portal_nav_inherit.xml',
],