From 7fdab094fc710e24e001d8c514a1cd63885c6e11 Mon Sep 17 00:00:00 2001 From: gsinghpal Date: Fri, 15 May 2026 19:09:26 -0400 Subject: [PATCH] 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. --- fusion_clock/__manifest__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fusion_clock/__manifest__.py b/fusion_clock/__manifest__.py index 1f3c47cb..5542d502 100644 --- a/fusion_clock/__manifest__.py +++ b/fusion_clock/__manifest__.py @@ -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': [