Sunday, August 3, 2025
2 changes · 18.0
Resolved issues and error corrections
The CRM dashboard shortcut for Lead/Opportunities no longer crashes when opened from the Activities menu in developer mode. This keeps sales teams from hitting an error when navigating to leads and opportunities from the dashboard.
Original PR description
Steps: - Install `crm` - Enable dev mode - Dashboard -> Activities icon -> Lead/Opportunitiess - Traceback This is simply due to the fact that the withsearch props indicate that they want to receive an array of strings or arrays, whereas the crm patch overrides the action domain by keeping the “Domain” type, which is an object and not an array. One solution is to use `.toList()` on the domain to convert it into a 2d array. linked pr: https://github.com/odoo/enterprise/pull/91521 opw-4979173 Forward-Port-Of: odoo/odoo#221525
The CRM dashboard shortcut for Leads and Opportunities could crash when opened from the Activities icon in developer mode. This fix ensures the shortcut uses the expected data format, restoring access and preventing an avoidable interruption for CRM users.
Original PR description
Steps: - Install `crm` - Enable dev mode - Dashboard -> Activities icon -> Lead/Opportunitiess - Traceback This is simply due to the fact that the withsearch props indicate that they want to receive an array of strings or arrays, whereas the crm patch overrides the action domain by keeping the “Domain” type, which is an object and not an array. One solution is to use `.toList()` on the domain to convert it into a 2d array. linked pr: https://github.com/odoo/odoo/pull/221525 opw-4979173 Forward-Port-Of: odoo/enterprise#91521