Daily updates from Odoo
Friday, August 2, 2019
22 changes · master
Enhancements to existing features
When employees update their language from their profile, the page now reloads automatically after saving so the new language is shown right away. This avoids confusion and removes the need for users to manually refresh the page; the profile page also no longer offers an unnecessary Create button.
Original PR description
Description of the issue/feature this PR addresses: Before, as preferences were a popup, the system reload itself. now it doesn't reload. It should Current behavior before PR: When a user change his language in employee profile, he doesn't see the result before reloading manually the page. Desired behavior after PR is merged: With this commit, when a user change his language, the page is reloaded on saving. id=2035089 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Reports that show amounts written out in words now use the recipient’s language for the currency unit label. This makes multilingual documents clearer and more professional for customers and partners.
Original PR description
Description of the issue/feature this PR addresses: This occurs when a provider shows a report in their previously configured language, but the text associated with the amount, where the label unit is indicated, is not translated. Current behavior before PR: The label of the Unit, associated to the currency, not translated in the reports where the amount in text is shown Desired behavior after PR is merged: Unit label associated with the currency correctly translated according to the language of the partner in the reports -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Successful mail server connection tests now show a normal success notification instead of an error-style message. This avoids confusing users with warnings like “Oops something went wrong” when the test actually passed.
Original PR description
Description of the issue/feature this PR addresses: If the connection test to mail server succeeds, we shouldn't see "Oops something went wrong" and "User Error" either Current behavior before PR: An error is generated to display success message Desired behavior after PR is merged: Generate success message with bus notification. id=2032067 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This change makes sales and accounting processes easier for developers to customize without altering core behavior. It supports safer extensions around analytic account creation, bank statement reconciliation, and tax line preparation, reducing future maintenance effort.
Original PR description
This PR aims to separate vals preparation into new method for hooking in extensions -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update removes unused precision settings from several currency-related fields because they were not actually affecting how monetary amounts are stored or displayed. It reduces confusion for maintainers without changing business behavior for users.
Original PR description
Description of the issue/feature this PR addresses: IIUC, `digits` only works on `Float` fields, on `Monetary` fields it has no effect: - It is not applied in `convert_to_column()` or `convert_to_cache()`; - It is not part of `description_attrs`, so it will not be included in the output of `fields_get()`. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The Project app now shows a clearer and more consistent warning when a task hierarchy would create a recursion loop. This helps users better understand why a task relationship cannot be saved and aligns the message with similar safeguards elsewhere in Odoo.
Original PR description
Follow up on https://github.com/odoo/odoo/commit/0f2470f8179a3bdf3b256261bb706754522c5669#r32847139 Description of the issue/feature this PR addresses: Project Current behavior before PR: Improve warning message to make it consistent with other places. (Where Recursion may occur) Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Cc: @jem-odoo
This update adjusts the HR Expenses screen setup so future customizations can extend it more reliably. It helps partners and implementers adapt expense workflows without duplicating or replacing more of the standard configuration.
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
Clicking a cell in list views no longer shows an unnecessary darker focus style while the page is loading. The focus highlight remains available for keyboard navigation, keeping accessibility support while making mouse interactions look cleaner.
Original PR description
Before this commit, when clicking on a cell in the listview, the cell receives the focus, which makes it have an extra style (darker gray) when waiting for the page to laod. After this commit, the extra style will only be added when using the keyboard to navigate between the cells and not on click. 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 removes an unnecessary setting from an HR Attendance screen definition. It has no expected visible impact for users, but it keeps the application code cleaner and easier to maintain.
Original PR description
Description of the issue/feature this PR addresses: This appears to be leftover from a C/P from the line above, however `type="html"` does not make much sense on `<p>` element. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The documentation now mentions an additional translation helper that was already available in Odoo. This helps teams and implementers find the right guidance when preparing translated text, with no direct change to business workflows.
Original PR description
Was added at #31211 @robodoo r+
This update fixes small wording and configuration mistakes in field definitions across several Odoo apps. It helps keep the system consistent and reduces the chance of minor setup issues, with no expected change to day-to-day business workflows.
Original PR description
Description of the issue/feature this PR addresses: - `String` -> `string`; - `defaut` -> `default`; - `defaults` -> `default`; - `reandonly` -> `readonly`; - removed redundant `placeholder` attribute for `Char` field; - removed redundant `size` attribute for `Float` and `Integer` fields; - changed to use `Selection` instead of `Char` for a field having a defined `selection`. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update prevents media attached to product variants from being edited in places where that should not be allowed. It helps keep product information more consistent and reduces the risk of accidental changes to variant-specific images or media.
Original PR description
task : https://www.odoo.com/web#id=2035653&action=327&model=project.task&view_type=form&menu_id=4720 pad : https://pad.odoo.com/p/r.ba547ddd13baa9e68adf00b2f65f2a9a task-id:2035653 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 removes an outdated internal note that incorrectly suggested certain changes should not be carried forward. It helps keep maintenance guidance accurate without changing how users work with the system.
Discount controls were aligned with the updated product-based permission setup, helping subscription and field service documents keep working as expected. A reporting test was also tightened to avoid failures caused by an extra point-of-sale journal.
Resolved issues and error corrections
Creating a new bank statement from the reconciliation area no longer fails when selecting a partner. The fix ensures the correct default journal is available, preventing an error and keeping the accounting workflow smooth.
View validation errors now identify the affected view using its external ID instead of only its display name. This makes it easier for teams to find and fix the correct view when configuration or upgrade issues occur.
Original PR description
**Description of the issue/feature this PR addresses:** There are some checks in `ir.ui.view` that in their error message show the view name instead of the view xml_id. The name is not helpful sometimes to find which is the wrong view, because the name can be anything. As it's done in other view errors in same file, what should be shown instead it's the view xml_id. **Current behavior before PR:** There are some view errors that show the view name. **Desired behavior after PR is merged:** The view errors show the view xml_id as expected, to easy find which one is the wrong view. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This change corrects a typo in Odoo's command-line tooling. It is a minor cleanup that improves clarity without changing business functionality or user workflows.
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 fixes a typo in an internal model class name for the website theme installation feature. It helps keep the codebase consistent and reduces the chance of confusion for future maintenance, with no expected impact on day-to-day users.
Original PR description
Description of the issue/feature this PR addresses: fix typo in model class name -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix corrects how several Odoo apps prepare messages for translation, ensuring labels and notifications are translated at the right time. It also removes unused code, reducing maintenance risk without changing business workflows.
Original PR description
Alternative version of #31211 without using a `_lt` method
This fix updates how translated text is handled in several Enterprise reporting and dashboard areas. It helps prevent incorrect or poorly timed translations, improving consistency for users working in different languages.
Original PR description
Now that the _lt method has been added Enterprise version of odoo/odoo#31211
This change corrects how labels are prepared for translation so they are translated at the right time rather than during server startup. It helps avoid missing or incorrect translations in affected accounting reports and subscription dashboard areas, with no expected workflow changes for users.
Original PR description
Without using the _lt Alternative of #4290 Enterprise version of odoo/odoo#33259
Code cleanup and technical improvements
Marketing automation now uses the shared campaign field for mailing results instead of the old mass mailing campaign reference. This keeps campaign reporting aligned across apps after the older community feature was removed, helping results aggregate consistently.
Original PR description
As mass mailing campaign was removed in community, the reference mass_mailing_campaign_id had to be replaced with campaign_id Task ID: 2002029 PR Community: #34452 PR: #5000