Sunday, August 3, 2025
2 changes · saas-18.2
Resolved issues and error corrections
Opening Leads/Opportunities from the activities menu could trigger an error for CRM users in developer mode. This fix corrects how the filter information is passed so the screen opens normally, improving reliability for sales teams.
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#221602 Forward-Port-Of: odoo/odoo#221525
This fix prevents an error when users open Leads or Opportunities from the Activities dashboard in CRM. The change ensures the CRM action uses the expected data format, so users can navigate from activity shortcuts without seeing a traceback.
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#91556 Forward-Port-Of: odoo/enterprise#91521