Friday, January 20, 2023
2 changes · master
Resolved issues and error corrections
The email marketing campaign board was slowed down by recalculating recipient totals for campaigns with complex filters. This fix reduces that delay so teams with many campaigns can open the overview more quickly.
Original PR description
Description of the issue/feature this PR addresses: On large database with lot of mailing.mailing with complexe domain, the kanban view take lot of time to load (10 seconds with 56 mailings). Because the field total is a computed field with domain made by user (not the most optimized domain :-) ). Note 1 : I don't know if it is the best solution Note 2 : This issue exist in V14 (but I make the PR in master). @tde-banana-odoo -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Event emails that include Google static maps now use signed links so the required Google API key is not exposed or misused. Event settings also make it easier to configure the Maps API key, and email cleanup was adjusted so these signed map links remain valid.
Original PR description
Google now requires an API key for the static maps API. As API calls cost money, and we cannot restrict the domain of the caller with the API key in emails, as the domain may vary vastly, the signing of static API URLs is implemented in the existing 'google_map_img' of partners. This in turn can be used to get a url for an existing location. While preventing anyone from stealing the API key for their own purposes task - 3079113 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr