Saturday, June 18, 2022
6 changes · master
Enhancements to existing features
Notifications now better respect custom behavior defined by individual Odoo apps, helping ensure messages are sent using the right business rules. The update also avoids unnecessary follower lookups in certain notification flows, improving efficiency without changing the visible user experience.
Original PR description
Purpose ======= In message_notify, use self to allow internal methods to be overridden. Task-2852908
Notifications sent from business records now respect each module's custom behavior instead of always using the generic mail logic. This helps ensure automated messages in areas like helpdesk, referrals, data cleaning, and data merge follow the intended rules for each workflow.
Original PR description
Purpose ======= In message_notify, use self to allow internal methods to be overridden. Task-2852908
Miscellaneous changes
The call to `commit()` can fail during the flush of the environment and raise an exception before the actual `COMMIT;`, leaving the cursor unclosed. This leaked cursor may hold locks that only be released when the GC collects it. On low-traffic workers like the CronWorker, this can lock usual database usages. Forward-Port-Of: odoo/odoo#93866 Forward-Port-Of: odoo/odoo#89492
Original PR description
The call to `commit()` can fail during the flush of the environment and raise an exception before the actual `COMMIT;`, leaving the cursor unclosed. This leaked cursor may hold locks that only be released when the GC collects it. On low-traffic workers like the CronWorker, this can lock usual database usages. Forward-Port-Of: odoo/odoo#93866 Forward-Port-Of: odoo/odoo#89492
Before this commit the "Thanks" button of the newsletter block could be saved as visible. This meant that a visitor who did not subscribe to the newsletter would see the "Thanks" button on loading before it disappeared. This commit solves this problem by hiding the button before saving. opw-2802139 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#93735 Forward-Port-Of: odoo/odoo#91539
Original PR description
Before this commit the "Thanks" button of the newsletter block could be saved as visible. This meant that a visitor who did not subscribe to the newsletter would see the "Thanks" button on loading before it disappeared. This commit solves this problem by hiding the button before saving. opw-2802139 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#93735 Forward-Port-Of: odoo/odoo#91539
This PR fixes the timer header alignment issue to align header buttons to start button. task-2782768 Forward-Port-Of: odoo/enterprise#28371
Original PR description
This PR fixes the timer header alignment issue to align header buttons to start button. task-2782768 Forward-Port-Of: odoo/enterprise#28371
A rename of the field has been forgotten in the forward port PRs of odoo/enterprise#26678. This commit also modifies the original test in order to ensure that it got through the added code. opw-2834721 Forward-Port-Of: odoo/enterprise#28576 Forward-Port-Of: odoo/enterprise#28556
Original PR description
A rename of the field has been forgotten in the forward port PRs of odoo/enterprise#26678. This commit also modifies the original test in order to ensure that it got through the added code. opw-2834721 Forward-Port-Of: odoo/enterprise#28576 Forward-Port-Of: odoo/enterprise#28556