Daily updates from Odoo
Navigate
Branch
Wednesday, April 8, 2020
15 changes
New functionality added to Odoo
Adds Data Cleaning features that let users standardize text fields across many records at once. This helps improve data quality by quickly fixing names, phone numbers, spacing, and capitalization after imports or manual entry.
Original PR description
PURPOSE ======== Enable the user to easily format a text/char field across multiple records. Examples: - remove leading/trailing/successive spaces in contact names - set the first letter of contact names to uppercase - format the phone number after import - etc. This feature is part of the "Data Cleaning" app. TaskID: 2158079
Enhancements to existing features
Field service task screens were updated to match recent project app changes that removed placeholder access groups. This keeps field service and field service sales views consistent and avoids configuration mismatches for users.
Original PR description
The "fake" groups were removed in the project application, this commit adapts to this change. TaskID: 2209133
The Sign app now uses clearer wording for the administrator label in user management. This helps users better understand which role includes administrative rights and reduces confusion when assigning permissions.
Original PR description
Before this commit, the administrator label in user management section was not clear enough about the admin rights. Taskid: 2198983
Advanced configuration screens now use the term "Model" instead of "Object" to make terminology more consistent and easier to understand. Relation fields also gain quick search support, helping users find the right model-related records faster.
Original PR description
PURPOSE Users are sometimes getting confusing between the concepts of 'objects' and 'models' when doing advanced configuration or customization. This task aims at unifying our terminology by replacing instances of 'object' by 'model'. SPECIFICATION Replace 'object' label by 'model'.And also add quicksearch on the relation field. LINKS PR: #9556 TaskId: 2209594
The TaxCloud configuration warning now appears in a more consistent place near the top of relevant forms, matching how similar alerts are shown in other Odoo apps. This makes the setup prompt easier for users to notice without changing any business process or tax calculation behavior.
Original PR description
warning message to configure your tax cloud is not set on the right place to be coherent with other apps. if class alert and alert-info under form tag, it'll appear on the form view under status bar. but this warning was defined in button box. after this pr warning message will appear at correct place to be coherent with other apps. Task- 2224885
The pull request reorganizes Enterprise test scripts so they are grouped into a single optimized bundle for desktop and mobile test suites. This is an internal quality and maintenance improvement that helps keep automated testing assets aligned across many Odoo apps without changing day-to-day user workflows.
Original PR description
Group all of the test scripts into a single minifyable assets bundle. This has been done for both the QUnit desktop and mobile suites. Community PR: https://github.com/odoo/odoo/pull/48676 Task 2002399
Users can now choose which decimal separator is used when importing QIF bank statement files. This helps avoid incorrect amounts when files come from regions or banks that use different number formats.
Original PR description
This commit adds the possibility to specify which decimal separator we want to use for QIF files import. OPW-2216166
Manufacturing order cost analysis now shows extra costs directly in the report table. This gives teams a more complete view of production costs by including subcontracting manufacturing costs and completed bill of materials service costs.
Original PR description
In Cost Analusis report of a manufacturing order, add the extra cost linked to the MO in the table report. The extra cost is the subcontracting mrp cost + the service cost of the bom. task-40259
Resolved issues and error corrections
This update corrects invalid or outdated field settings across several Odoo Enterprise modules. It reduces technical warnings and helps keep forms, payroll, accounting, documents, approvals, POS loyalty, rentals, and related workflows more reliable without changing day-to-day business processes.
Original PR description
Companion of https://github.com/odoo/odoo/pull/47917
Code cleanup and technical improvements
This update removes long-deprecated internal error handling and replaces it with the current standard approach. It helps keep the platform easier to maintain and reduces reliance on outdated behavior, with little expected day-to-day impact for users.
Original PR description
The `odoo.exceptions.except_orm` has been a deprecated exception type with deprecation warning for 5 years, it has been removed in favor of UserError which becomes the super class of all user-related errors. Since we are here trying to clean odoo custom exceptions, we are also deprecating the `name` exception attribute in favor of the more standard `message` attribute. The `name` (along with `value`) were two attributes used to raise `except_orm` exceptions before the introduction of `UserError`, `AccessError` and related exceptions. The `name` attribute, at the time, was holding the exception type/title. Nowadays it contains the error message. The `value` attribute, at the time, was holding the error message. Nowadays it is no more used. Task: 2187728 Related to: odoo/odoo#45723
Miscellaneous changes
Before this fix, the file was not passing XSD validation in case some invoices were having section lines because mandatory information like account is not present on it. We need to filter out those lines when generating the XAF file. opw-2230903 Forward-Port-Of: odoo/enterprise#9756
Original PR description
Before this fix, the file was not passing XSD validation in case some invoices were having section lines because mandatory information like account is not present on it. We need to filter out those lines when generating the XAF file. opw-2230903 Forward-Port-Of: odoo/enterprise#9756
- Create a product P with a flexible BOM using a component C - Create a MO for 10 units - Product 9 units but use all components - Open the Cost Analysis report The report considers 10 units produced instead of 9. There are actually 2 stock moves for finished products linked to the MO: one done with 9 units, one confirmed with 1 unit. We should only take into account the done move. Another solution could be to use `finished_move_line_ids`. However, the `qty_done` is not normalized
Original PR description
- Create a product P with a flexible BOM using a component C - Create a MO for 10 units - Product 9 units but use all components - Open the Cost Analysis report The report considers 10 units produced instead of 9. There are actually 2 stock moves for finished products linked to the MO: one done with 9 units, one confirmed with 1 unit. We should only take into account the done move. Another solution could be to use `finished_move_line_ids`. However, the `qty_done` is not normalized to the product UOM, therefore some more conversions would have been necessary. opw-2220855 Forward-Port-Of: odoo/enterprise#9746
### Issue - Install Helpdesk - Helpdesk > Tickets - Search on open hours ### Cause We use a module as a method (relativedelta) Some arguments are incorrect (minutes,seconds,...) A domain is not correctly merged ('&', ..., subdomain) ### Solution Use relativedelta.relativedelta instead Use correct arguments (minute, second, ...) Merge it correctly with expressions.AND **OPW-2228011** Forward-Port-Of: odoo/enterprise#9615
Original PR description
### Issue
- Install Helpdesk
- Helpdesk > Tickets
- Search on open hours
### Cause
We use a module as a method (relativedelta)
Some arguments are incorrect (minutes,seconds,...)
A domain is not correctly merged ('&', ..., subdomain)
### Solution
Use relativedelta.relativedelta instead
Use correct arguments (minute, second, ...)
Merge it correctly with expressions.AND
**OPW-2228011**
Forward-Port-Of: odoo/enterprise#9615In case several users are linked to a partner, getting the isgnature crashes because of a singleton error. opw-2233090 Forward-Port-Of: odoo/enterprise#9726
Original PR description
In case several users are linked to a partner, getting the isgnature crashes because of a singleton error. opw-2233090 Forward-Port-Of: odoo/enterprise#9726
The FullCalendar library has been update from v3 to v4 but calendar (front-end) of planning wasn't modified. So it's impossible for an employee to open his shift calendar from the link received by mail. Forward-Port-Of: odoo/enterprise#9713
Original PR description
The FullCalendar library has been update from v3 to v4 but calendar (front-end) of planning wasn't modified. So it's impossible for an employee to open his shift calendar from the link received by mail. Forward-Port-Of: odoo/enterprise#9713