Daily updates from Odoo
Navigate
Branch
Wednesday, March 9, 2022
14 changes
Enhancements to existing features
Adds automated checks that validate key planning workflows, including creating and copying shifts, assigning open shifts, and planning work from projects and sales orders. This helps reduce regressions in scheduling, project forecasting, and sales planning so users can rely on these flows working consistently.
Original PR description
This PR will add a new test tour 'planning_slot_test_tour' that ensures you can correctly do the following steps without errors: Planning: - Create slots - Verify formating of name-get when grouped - Copy week Add python test for planning user: - planning user can't create slots - planning user can read their own and other slots - planning user can take unassigned slots - planning user can unassign their own slots Project Forecast: - Plan Task - Create and use a planning template (verify Planning template name_get) that has a project > task Sale Planning: - Plan Orders - Plan Orders via magnigy glass icon TaskId: 2672780
This update prepares several Odoo Enterprise apps to use a newer messaging environment. It mainly improves internal consistency and reliability for communication-related features, with supporting test updates across approvals, documents, invoicing, HR appraisal, VoIP, and Studio.
Original PR description
draft
Project forecasting now shows clearer and more helpful user and validation error messages. This makes it easier for users to understand what went wrong and how to correct issues without needing technical support.
Original PR description
The purpose of the PR is, User/validation errors are sometimes not correct in English and/or quite obscure and don't help the user understand/solve the issue. so some copywriting should help make the experience better. closes odoo/enterprise#22402 task-2557805
This draft change updates how several Odoo apps handle real-time notifications and related communication workflows. It may improve responsiveness for IoT delivery devices, mail, follow-ups, and VoIP interactions, though the work appears preliminary based on the draft title and commit messages.
The Documents app now aligns its contact reference with the main Odoo server definition. This helps keep document-related contact information consistent and reduces the risk of mismatches in tests or integrations.
Original PR description
community: https://github.com/odoo/odoo/pull/86096 task-2767820
The signing flow now loads saved signatures, initials, and font choices more efficiently, reducing repeated server calls when users open signing fields. This should make document signing feel faster and smoother, especially for documents with many required signatures or initials.
Original PR description
When a signature or initial is required in sign, a RPC call is done to route `get_signature`. This is bad for performance since we need to be doing HTTP calls everytime a wizard is opened. This commit removes the get_signature route and now signatures are inserted in `get_document_qweb_context` as an `auto_value` key in the sign_item_types dictionary. Also, `auto_field` keys were replaced by `auto_value` to prevent confusion between the `auto_field` field and the value that should be auto-filled in the document. task-2735814
Resolved issues and error corrections
This update adjusts an internal automated test for project planning so it no longer fails during nightly validation runs. It helps keep release checks reliable without changing customer-facing behavior.
Original PR description
This commit increases the assertQueryCount of the test in order to prevent runbot Nightly build test fail.
The VoIP calling panel now sets up its error handling before starting the phone connection process. This helps ensure setup problems are caught and handled properly, reducing confusing failures when users start VoIP calling.
Original PR description
Errors triggered during the initialization of the user agent using `sip_error` are not caught since the event listeners have not yet been added. This commit solves the issue by moving the instanciation of the UserAgent after the event listeners have been added.
This update removes leftover styling markers that were preventing some icons from displaying correctly in the Enterprise web interface. Users should now see the intended icons in affected control panel and search areas, improving visual consistency without changing workflows.
Original PR description
During 28f910f some `oi` utility-classes that were supposed to be removed have been forgotten, causing `fa` icons to don't be rendered properly. This commit will remove the unnecessary classes solving the render issues. task-2790138 community: - https://github.com/odoo/odoo/pull/86102
This update adjusts how approval, messaging, and VoIP activity features are registered and loaded. It should make these features more reliable internally, with limited visible impact for everyday users.
Code cleanup and technical improvements
This update reorganizes how cohort, dashboard, and map views manage their main page structure. It is an internal cleanup that should make these views easier to maintain and test without changing day-to-day user workflows.
Original PR description
*: cohort, dashboard, map
Miscellaneous changes
Steps : Install project and employee. Create 3 company and an employee for you user in 2 of them. Switch to the one without employee. Create a new project and task. Register a timesheet. Issue : The timesheet has no employee. Fix : Display start button and set an employee on the ts only if user has an employee in the company or has only one employee for all companies. Related : odoo/odoo#85780 opw-2745733 Forward-Port-Of: odoo/enterprise#25068 Forward-Port-Of: odoo/enterprise
Original PR description
Steps : Install project and employee. Create 3 company and an employee for you user in 2 of them. Switch to the one without employee. Create a new project and task. Register a timesheet. Issue : The timesheet has no employee. Fix : Display start button and set an employee on the ts only if user has an employee in the company or has only one employee for all companies. Related : odoo/odoo#85780 opw-2745733 Forward-Port-Of: odoo/enterprise#25068 Forward-Port-Of: odoo/enterprise#24961
Steps to follow 1. Go to Field Service 2. Start Studio 3. Go to reports 4. Open Worksheet report 5. Go to report 32 6. Select the values in the Amount column 7. Unfold the td tag 8. Edit Visible if field 9. Add Billable is set (true) as a filter 10. Save -> you get the Traceback: Cause of the issue `currentValue` can be undefined opw-2781926 Forward-Port-Of: odoo/enterprise#25059
Original PR description
Steps to follow 1. Go to Field Service 2. Start Studio 3. Go to reports 4. Open Worksheet report 5. Go to report 32 6. Select the values in the Amount column 7. Unfold the td tag 8. Edit Visible if field 9. Add Billable is set (true) as a filter 10. Save -> you get the Traceback: Cause of the issue `currentValue` can be undefined opw-2781926 Forward-Port-Of: odoo/enterprise#25059
Steps : Install project and employee. Create a second company and switch to it. Create a new project and task. Issue : You can click start, then stop, aka create a new timesheet on this task with a user of another company. Fix : Hide start button if current user doesn't have any employee in the current company. opw-2745733 Forward-Port-Of: odoo/enterprise#24912
Original PR description
Steps : Install project and employee. Create a second company and switch to it. Create a new project and task. Issue : You can click start, then stop, aka create a new timesheet on this task with a user of another company. Fix : Hide start button if current user doesn't have any employee in the current company. opw-2745733 Forward-Port-Of: odoo/enterprise#24912