Daily updates from Odoo
Tuesday, February 5, 2019
9 changes · master
Enhancements to existing features
Odoo now uses a newer library for handling SOAP-based service connections, replacing the older one previously used. This helps keep the platform's dependencies more current and maintainable without changing everyday user workflows.
Original PR description
Task: https://www.odoo.com/web?#id=41696&model=project.task&view_type=form&menu_id=4720 PAD: https://pad.odoo.com/p/r.9ed49d234bde1f09777c589174e235b5 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Calendar events now display more reliably when no related contact is assigned. This prevents confusing or broken-looking event entries and makes the calendar easier to read for users.
Original PR description
Task: https://www.odoo.com/web?#id=1906798&action=333&active_id=133&model=project.task&view_type=form&menu_id=4720 Pad: https://pad.odoo.com/p/r.375003d1858f995bacf820635f86d80a -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This change lets developers place new options before a specific existing option in configurable selection lists, rather than only adding them at the end or replacing the full list. It can make custom business workflows easier to adapt while keeping existing behavior intact.
Original PR description
Description of the issue/feature this PR addresses:
This PR adds the possibility to insert selection items in a Selection field before a targeted one.
Current behavior before PR:
You can only append or replace the selection argument of a Selection field.
Desired behavior after PR is merged:
You can insert a list of tuple before the targeted item matched by its key.
```
state = fields.Selection(selection_before=[
'sale', [('newstatus', 'New status before sale')],
])
```
--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-prResolved issues and error corrections
When users replace media in the website editor, the new item now keeps the same styling classes as the item it replaces, not just for images. This helps preserve page layout and appearance when swapping videos, documents, or other media of the same type.
Original PR description
Extend #30661 to reapply the classes of any type of media instead of only images, as long as the new media is of the same type as the media it replaces. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Fixes an issue where deleted media could still appear in the media selection dialog. This keeps the editor display accurate after removals, reducing confusion for users managing website content.
Original PR description
Due to a context error, after removing a media, it still showed in the media dialog.
This update removes outdated test-tour workarounds that were only needed for an older modal timing issue. It helps keep the salary contract flow aligned with the current system behavior and reduces the risk of misleading automated checks.
Original PR description
Commit https://github.com/odoo/enterprise/commit/5db14872113e418109141234cc268f6e2b39f2f8 changed a tour in 12.0 to mimic the fact the user had to wait some ms before closing a modal. This is not necessary anymore since this *bug* was fixed in master instead of making the tour aware that a bug exists (see https://github.com/odoo/enterprise/commit/d68b373de66f7e279160f1f867e2115063f91489). Commit https://github.com/odoo/enterprise/commit/38dfff306e0e8471869c58f8c5ecb2920835eb94 tried to fix the issue but did it in an incomplete way. This commit basically reverts both commits.
This fixes an internal guided walkthrough for salary contract setup so it matches the current version of the product. The change removes outdated waiting behavior and keeps automated checks aligned with how the system now works.
Original PR description
Commit https://github.com/odoo/enterprise/commit/5db14872113e418109141234cc268f6e2b39f2f8 changed a tour in 12.0 but the changes are not compatible with master changes. This commit adapts a trigger selector and removes an unnecessary run function. Commit https://github.com/odoo/enterprise/commit/38dfff306e0e8471869c58f8c5ecb2920835eb94 made part of that before I was able to merge my fix.
On mobile devices, the search icon now turns green when a filter is active. This makes it easier for users to see that search results are being filtered, reducing confusion while working on smaller screens.
Original PR description
Fix on mobile devices : - The green color on search icon when a filter is active Task Id: 1893168
Code cleanup and technical improvements
This change simplifies how Odoo website pages retrieve shared context information by making the website root responsible for it. It reduces the risk of conflicts when future enhancements add more context values, with little expected direct impact for business users.
Original PR description
* website_forum, website_gengo, website_mail_channel, website_sale Retrieving the global context is now the root's job, this will prevent problems when trying to extend the values the context has. See upcoming improvements with https://github.com/odoo/odoo/pull/29442