Daily updates from Odoo
Wednesday, February 28, 2024
8 changes
2 changes
Enhancements to existing features
This update enhances the testing process for our Point of Sale system, specifically focusing on barcode scanning. The tests have been reorganized to better utilize existing barcode functionality, ensuring more reliable and accurate scanning results. This improves the overall stability and performance of the POS experience.
Original PR description
refactor 'scan_barcode' method to use barcodes function task id: 3674936 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#153993
This update enhances the website editor's image functionality by allowing users to preview and customize hover animation effects. A key fix ensures that undo actions correctly remove these effects, preventing persistent changes. This improves the user experience and flexibility when designing website content.
Original PR description
**[IMP] web_editor, website: improve on hover animation** This commit makes improvements as requested in the following pull request [1] ("allowing the ability to flip/rotate image shapes" and "adding…
**[IMP] web_editor, website: improve on hover animation**
This commit makes improvements as requested in the following pull
request [1] ("allowing the ability to flip/rotate image shapes" and
"adding an 'on hover' option for animations").
It mainly focuses on refining the code for better organization.
[1]: https://github.com/odoo/odoo/pull/119197
task-3495241
-----------------------------------------------------------------------------------------------------
**[IMP] web_editor, website: preview hover effects**
This commit adds the possibility to preview the various effects
available in the "effect" option for 'on hover' animations when hovering
over the dropdown. The sub-options of these effects are also previewed.
This commit also prevents the user from seeing the different changes
that occur to an image with a shape while changing one of its options
(e.g., changing the shape, previewing hover effects).
task-3495241
-----------------------------------------------------------------------------------------------------
**[FIX] web_editor, website: fix undo after enabling hover effects.**
Steps to reproduce the bug:
- In Website edit mode, drag & drop a text-image snippet onto the page.
- Click on the image of the snippet.
- In the image options, select "On Hover" for the "Animation" option.
- Click on the "Undo" button in the top bar of the editor panel.
- Bug: The "Animation" option has not been deactivated, the "Hover
Effect" is still present when hovering over the image.
task-3495241
Forward-Port-Of: odoo/odoo#1349793 changes
Enhancements to existing features
This draft update relates to planned B2B inventory work connected to the referenced Odoo task. Details on the exact business behavior are not available from the provided file and commit information, so the impact is best treated as a pending inventory improvement.
Original PR description
Task 3569227 odoo/odoo#145411
WhatsApp discussions now show live chat channels as separate categories in the sidebar, making conversations easier to find and organize. This improves navigation for teams handling customer chats across multiple channels.
Original PR description
part of task-3640730 community: https://github.com/odoo/odoo/pull/154166
The global Add Line button is now shown or hidden more appropriately in grid views, making it clearer when users should add entries manually. In My Timesheets, the button is hidden when the timer workflow already provides an easier way to create new time entries.
Original PR description
This commit modifies the criteria for showing the global "Add Line" button, simplifying the process for users to add new entries. In the "My Timesheets" section within the timesheet_grid module, the "Add Line" button is now hidden. This is because the incorporation of new lines is already streamlined through the use of the timer feature. taskid:3701294
3 changes
Enhancements to existing features
This update adjusts the performance test thresholds in the mail module to match the latest system benchmarks. The changes ensure that performance tests accurately reflect current system capabilities and prevent false test failures due to outdated baseline metrics.
Original PR description
Based on last runbot counters
This update cleans up and standardizes translations across all Mexico-specific modules by refreshing translation files, backporting v17 translations, and consolidating to use Spanish (es.po) instead of Mexico-specific variants. This ensures users in Mexico have consistent and complete translations throughout the system.
Original PR description
A lot of translations were missing from the l10n_mx* localizations therefore they are cleaned up by: - re-exporting all of the pot files of the modules starting with l10n_mx* (most were out of date…
A lot of translations were missing from the l10n_mx* localizations therefore they are cleaned up by: - re-exporting all of the pot files of the modules starting with l10n_mx* (most were out of date and/or incorrectly manually modified) - the translations from v17 are backported (a bunch update of all of the terms in these modules was done for v17) - the modules were all consistently updated to use es.po only, i.e. es_MX.po files were removed, since both were used but in v17 they were all converted to es_419 (i.e. the default Spanish local from v17 onwards) Notes: - This was only done in saas-16.3 onwards to support a ticket. Previous versions can have similar steps done for them when requested by customers, but are not done as part of this PR because it's cumbersome to do. - Since terms change between versions, probably some translations are missing and can be added in as demanded/noticed by customers (since it's also cumbersome to track them down) opw-3452127 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#155262 Forward-Port-Of: odoo/odoo#155214
This update adds comprehensive tests for the email template system used in event communications, particularly for batch email sending to event attendees. The changes improve test reliability and maintainability by refactoring email scheduler tests and adding new test coverage for registration-time communications. This ensures the email system works correctly as the team prepares to optimize batch email processing.
Original PR description
PURPOSE Mail: add tests for MailTemplate send_mail Several flows use MailTemplate.send_mail() in batch, notably event email scheduler which sends emails to event attendee in batch. This commit adds…
PURPOSE
Mail: add tests for MailTemplate send_mail
Several flows use MailTemplate.send_mail() in batch, notably event email
scheduler which sends emails to event attendee in batch. This commit adds
tests around 'send_mail' method of MailTemplate model
* add tests for batch: it is currently not supported hence using a loop but
batch is going to be added soon, allowing to test the batch version works
as intended;
* add query counters, notably for batch mode and when dynamic reports are
involved in templates;
Event: improve mail scheduler tests
Make them easier to improve and modify
* use a dedicated setup (allowing to add specific unit tests on test data);
* move initial asserts into its own unit test (to keep other tests shorter);
* use available mocks for freezetime and sql.now;
Then add tests for registration emails, to check what happens for communication
scheduled right at registration time.
LINKS
Part of Task-3764894: Event: Allow using cron triggers for communication
Part of Task-3764891: Mail: Batch-ize MailTemplate send_mail
Part of Task-3164278: Mail: Batch send: ensure limit, avoid force
Part of Task-3084943: Event: Improve communication scheduler scalability