Daily updates from Odoo
Wednesday, August 7, 2019
7 changes
Enhancements to existing features
This update corrects an internal identifier used by the Mercury payment integration in Point of Sale settings. It helps ensure the right configuration view is referenced, reducing the chance of setup or navigation issues for users managing payment terminals.
Original PR description
Follow up on https://github.com/odoo/odoo/pull/35471#discussion_r311180117 Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: Cc: @jorenvo -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Odoo now uses shared, cached language lookup methods across several areas, making language-related behavior more consistent and efficient. This reduces the risk of using the wrong language when settings or context vary, improving reliability for multilingual deployments.
Original PR description
It is ormcached and correctly check the context ~~A lot of code could also be simplified by using `_lang_get` but there is this [weird fallback](https://github.com/odoo/odoo/blob/857c4851754dcddf9e6dc7b39585914beaf89c88/odoo/addons/base/models/res_lang.py#L183) on en_US/first lang that we should probably remove anyway.~~ _Update: Done_
This change updates a displayed label from the British spelling “licence” to the US spelling “license.” It is a minor wording improvement that keeps the underlying system behavior unchanged while aligning user-facing text with US English conventions.
Original PR description
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 moves important page information from hidden template placeholders to real page elements, helping website pages keep expected labels and structured data. It also removes redundant link details that had no practical effect, improving page quality without changing visible features.
Original PR description
Description of the issue/feature this PR addresses: `<t>` is not rendered, so we lose `class`, `role`, `itemprop`, `content` etc. significant HTML attributes. In other cases, the `<a>` tag can contain redundant HTML attributes, which don't make sense (e.g. `href="#"`). -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update corrects spelling mistakes in comments and related non-user-facing text across several Odoo areas. It improves code readability and maintainability for future development without changing business functionality.
Original PR description
**Description of the issue/feature this PR addresses:** Fix typos everywhere. They were provided by @sswapnesh in https://github.com/odoo/odoo/pull/35356#issuecomment-516966339. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update adds clear internal labels to key eLearning page elements so they are easier for developers and partners to customize safely. It does not change the visible experience for learners or website visitors, but it should reduce effort and risk when adapting these pages for specific business needs.
Original PR description
Description of the issue/feature this PR addresses: Element names Current behavior before PR: Most elements have no name to xpath on. Desired behavior after PR is merged: The most important elements have a name to `xpath` on. This will make it easier for developers to change existing elements. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update uses shared language settings to decide when content should be treated as multilingual. It helps Studio and website CRM scoring behave more consistently when only one non-default language is active.
Original PR description
That are ormcached Change the semantic of multi_lang as it was true if only one language (e.g. fr_FR) was activated cc @mge-odoo for the changes in web_studio