fix(fusion_clock): load wizard XML before clock_menus.xml

The Enroll NFC Card menu item references action_fusion_clock_nfc_enrollment_wizard,
which is defined in wizard/clock_nfc_enrollment_views.xml. With the wizard file
listed AFTER clock_menus.xml in the manifest, the menu load failed with
"External ID not found in the system" on first upgrade.

Move the wizard view above clock_menus.xml so the action XMLID exists by the
time the menu references it.

Verified on odoo-entech: fusion_clock upgraded cleanly to 19.0.3.1.0, all
wizard XMLIDs registered.
This commit is contained in:
gsinghpal
2026-05-15 19:09:26 -04:00
parent c2646f59c4
commit 7fdab094fc

View File

@@ -70,6 +70,8 @@ Integrates natively with Odoo's hr.attendance module for full payroll compatibil
'views/clock_correction_views.xml',
'views/clock_dashboard_views.xml',
'views/hr_employee_views.xml',
# Wizards (must load before clock_menus.xml since menu references wizard action)
'wizard/clock_nfc_enrollment_views.xml',
'views/clock_menus.xml',
# Views - Portal
'views/portal_clock_templates.xml',
@@ -77,8 +79,6 @@ Integrates natively with Odoo's hr.attendance module for full payroll compatibil
'views/portal_report_templates.xml',
'views/kiosk_templates.xml',
'views/kiosk_nfc_templates.xml',
# Wizards
'wizard/clock_nfc_enrollment_views.xml',
],
'assets': {
'web.assets_frontend': [