Daily updates from Odoo
Tuesday, February 5, 2019
5 changes
Resolved 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