feat(fusion_planning): new module bridging fusion_clock with Odoo Planning
Adds a 'My Schedule' tab to the Fusion Clock portal that lists the current employee's published planning.slot records, grouped by day. Reuses the fusion_clock dark theme and reuses Odoo Planning's stock backend UI (Gantt, send wizard, recurrence) unchanged. - Controller /my/clock/schedule: pulls published slots in next 60 days - Portal template with next-shift hero card, summary stats, grouped list - Bottom-nav xpath inherits target the nav bar specifically (not the Recent Activity 'View All' link, which also linked to /my/clock/timesheets) - 4-tab nav fits via reduced padding and flex sizing Module depends on stock 'planning' (Enterprise) + fusion_clock. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
40
fusion_planning/__manifest__.py
Normal file
40
fusion_planning/__manifest__.py
Normal file
@@ -0,0 +1,40 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Copyright 2026 Nexa Systems Inc.
|
||||
# License OPL-1 (Odoo Proprietary License v1.0)
|
||||
# Part of the Fusion Clock product family.
|
||||
|
||||
{
|
||||
'name': 'Fusion Planning',
|
||||
'version': '19.0.1.0.0',
|
||||
'category': 'Human Resources/Planning',
|
||||
'summary': 'Fusion Clock bridge to Odoo Planning - employee schedule on the portal',
|
||||
'description': """
|
||||
Fusion Planning
|
||||
===============
|
||||
|
||||
Adds Odoo Planning to the Fusion Clock product family:
|
||||
|
||||
* Adds a "My Schedule" tab to the Fusion Clock portal
|
||||
* Reuses Odoo Planning's exact backend UI (Gantt, send wizard, recurrence)
|
||||
* Bridges planning.slot with fusion_clock attendance and leave
|
||||
""",
|
||||
'author': 'Nexa Systems Inc.',
|
||||
'website': 'https://nexasystems.io',
|
||||
'license': 'OPL-1',
|
||||
'depends': [
|
||||
'planning',
|
||||
'fusion_clock',
|
||||
],
|
||||
'data': [
|
||||
'views/portal_schedule_templates.xml',
|
||||
'views/portal_nav_inherit.xml',
|
||||
],
|
||||
'assets': {
|
||||
'web.assets_frontend': [
|
||||
'fusion_planning/static/src/css/portal_schedule.css',
|
||||
],
|
||||
},
|
||||
'installable': True,
|
||||
'auto_install': False,
|
||||
'application': False,
|
||||
}
|
||||
Reference in New Issue
Block a user