Daily updates from Odoo
Tuesday, November 20, 2018
9 changes · master
Enhancements to existing features
Email addresses are now stored in a standardized format across mail, blacklist, CRM, and mass mailing workflows. This improves matching for unsubscribe and opt-out checks, reduces duplicate or missed blacklist lookups, and speeds up email searches.
Original PR description
Add a mixin that can be used to store a normalized version of the primary email address of the parent model. The email_normalized field can than be used on that model to search quickly on emails (by simple comparison and not using time consuming regex anymore) Apply the mail.address.mixin on blacklist mixin. So that every model inheriting the blacklist.mixin will also inherit the address.mixin. That simplify also the comparaison to - and the searches on - the blacklist. Use the email.normalized from mail.address.mixin to get always a normalized email address in the unsubscribe link. That allows to simplify the search on email address in the controllers -> Check blacklist, send feedback, etc.. This merge is linked to task ID 1896677
The update improves how form components are notified when they appear on screen, helping embedded viewers such as manufacturing PDFs load correctly. This makes document viewing in related workflows more reliable without changing the overall user experience.
Original PR description
Task: https://www.odoo.com/web?#id=1891791&action=333&active_id=1428&model=project.task&view_type=form&menu_id=4720
This update expands the developer documentation for JavaScript testing, making it clearer how Odoo's testing system and new utility functions should be used. It helps teams write and maintain tests more consistently, which can improve software quality over time.
Original PR description
The documentation on JS testing was almost completely useless. With the introduction of our new test utility functions, it is time to document properly how the testing system works. Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Payroll line records no longer copy calculation details that are only needed by payroll rules. This reduces unnecessary stored data and helps keep payroll processing records cleaner without changing the business payroll workflow.
Original PR description
hr_payslip_line was inheriting from hr_payslip_rule which meant that we were copying useless data from the rules on the lines (namely the computation rules which are only used in _compute_rule on hr_payslip_rule). -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update keeps older web test helpers working after recent internal reorganizations. It reduces friction for development teams when applying updates across versions, without changing the user-facing product experience.
Original PR description
Rev. 7c3d5dc0 recently added new helpers to use in the tests, and moved some existing helpers to testUtils sub groups (like .dom or .mock). This rev. adds a compatibility layer to ease forwardports. Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The mass mailing interface is easier to use with clearer labels, required recipient selection, and more convenient list and mailing management actions. Users can now find mailing contacts more easily and manage archives and colors directly from kanban views, reducing setup friction.
Original PR description
Purpose : this commit improve various elements of the mass mailing interface : - make recipients field in mass mailing form required and add "mass mailing contact" in selection - new "Archive" button and color picker in dropdown menus of mailing lists and mailings kanban views. - icon change in list view in merge mailing lists form view - various little improvements in labels task : https://www.odoo.com/web#id=1906531&action=333&active_id=965&model=project.task&view_type=form&menu_id=4720 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update improves the speed of stock move assignment when handling large quantities of products tracked by serial numbers. Businesses with high-volume inventory operations should see smoother processing and reduced waiting time during warehouse workflows.
Original PR description
After a few work, when you have lot quantity with serial number, it increase the perf. Ask @alnslang for more detail. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Manufacturing work order users can now perform actions without the attached PDF viewer reloading, making tablet workflows smoother and less disruptive. The update also improves the top bar layout in table view and adds tests to help keep the behavior reliable.
Original PR description
Task: https://www.odoo.com/web?#id=1891791&action=333&active_id=1428&model=project.task&view_type=form&menu_id=4720
Accounting reports now show how many database queries are used when generating their HTML view. This helps teams monitor report performance more easily and spot potential slowdowns during troubleshooting.