Daily updates from Odoo
Tuesday, May 28, 2019
11 changes · master
Enhancements to existing features
Systray dropdowns now close when the user moves the mouse away from their parent menu item or hovers over another systray item. This makes navigation cleaner and prevents old submenus from staying open unexpectedly.
Original PR description
Pad:https://pad.odoo.com/p/r.8967f587628e6a2213cdabd418151de7 Task: https://www.odoo.com/web?#id=1959678&action=333&active_id=131&model=project.task&view_type=form&menu_id=4720
Grouped list views no longer show the drag handle because records cannot be reordered there. This removes a misleading control and makes the list interface clearer for users.
Original PR description
Pad:https://pad.odoo.com/p/r.ce982c5806cf8123860c30b00bf9206e Task:https://www.odoo.com/web#id=1964661&action=333&active_id=131&model=project.task&view_type=form&menu_id=4720
The web interface now reserves the 'b' keyboard shortcut for navigating to the previous breadcrumb, making it faster to move back through screens. To avoid conflicts, buttons will no longer automatically receive 'b' as an access key.
Original PR description
Also, exclude 'b' for being automatically assigned to buttons Issue : 1878248 Co-authored-by: Mohammed Shekha <msh@openerp.com> 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
This update renames the user availability section from “Out of Office” to “Chat Status” and shortens the related message field label to “Message.” The change makes the wording clearer for users managing their chat presence, without changing underlying functionality.
Original PR description
Description of the issue/feature this PR addresses: - Related task: https://www.odoo.com/web?#id=1999697&action=333&active_id=131&model=project.task&view_type=form&menu_id=4720 - Pad: https://pad.odoo.com/p/r.8735524df04c399b49ea808718d78330 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 Mail app now hides the Integrations tab on channel pages when no integrations are available. This reduces clutter and avoids showing users an empty or irrelevant section.
Original PR description
Description of the issue/feature this PR addresses: - Related task: https://www.odoo.com/web?#id=1973976&model=project.task&view_type=form&menu_id=4720 Pad: https://pad.odoo.com/p/r.b032f946579215ff8a9b9bfa683dab40 Current behavior before PR: Desired behavior after PR is merged:
Odoo can now optionally use the Jing validator to provide clearer, more precise messages when data files fail validation. This helps developers identify and fix file issues faster without adding a required dependency for all installations.
Original PR description
libxml2 generally provides awful error messages on validation failure:
ERROR:RELAXNGV:RELAXNG_ERR_EXTRACONTENT: Element odoo has extra content: data
The reference implementation of relaxng (jing) provides much, much more useful messages:
error: text not allowed here; expected the element end-tag or element "field"
(the error was some stray text after a `</field>` tag, the test case was the same for both lxml and jing, jing furthermore provides the correct line number)
It's in Java which makes it inconvenient and expensive as a core dependency, but [the jingtrang packages](https://pypi.org/project/jingtrang/) provides a convenient bundle of jars & invocation, so it's not too painful as an optional dependency & QoL improvement.The Web Studio report editor tests were adjusted to match recent changes in how the media dialog opens. This keeps automated quality checks aligned with the current behavior and helps prevent false test failures during development.
Original PR description
Enterprise counterpart of https://github.com/odoo/odoo/pull/33509 This change is needed because we don't call the bootstrap show tab anymore for the media widget. The mock approach was copied from the web_editor test itself.
The editable list view now displays the delete icon without an unwanted black line underneath it. This small visual cleanup makes sale order line editing look more consistent with the rest of the interface.
Original PR description
UI improvement on sale order line. Remove the black line under the delete button on sale order line.
Resolved issues and error corrections
Clicking certain action links outside standard views no longer briefly opens the home screen before the intended action. This keeps the interface visually stable while preserving normal link styling for users.
Original PR description
Current behavior before PR: Defining action using `<a type="action">` outside of normal views(like qweb view) css style does not apply to it because missing the `href` tag. by defining `href` tag on a link will first open home screen then perform `do_action` thus it will do flickering. Desired behavior after PR is merged: Prevent `event` default behaviour so it will stop flickering and restore css style for action by defining `href` tag on it. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Code cleanup and technical improvements
The website editor’s media dialog code was reorganized to make image, document, search, and Unsplash handling clearer and easier to maintain. This is mostly an internal cleanup with little expected day-to-day impact, but it prepares the editor for future improvements and reduces maintenance risk.
Original PR description
* web_unsplash, website, website_blog Merge commit for PR: #33509 No big functional change, clean up media dialog code in preparation of task-1930726. See individual commits for more information.
This update replaces an older internal setting used to control where action menu options appear with the newer supported approach. Users should see the same options in the relevant screens, while the change keeps these apps aligned with the platform’s current standards.
Original PR description
cf odoo/odoo#24738