Daily updates from Odoo
Wednesday, July 17, 2019
11 changes · master
Enhancements to existing features
List view column headers can now show their help text in a tooltip. This makes it easier for users to understand what a field means without leaving the list or looking elsewhere for guidance.
Original PR description
Task 2036832 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
The web search panel now includes field identifiers on category and filter lists. This supports more precise interactions in related features, such as drag-and-drop behavior in document search panels, without changing the visible user interface.
Original PR description
adds field_name data on category and filter lists in the search panel template so it can be used to identify their field. Task: #1998014 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The cohort view now shows the same empty-state message and blank folder icon used in other views. This creates a more consistent experience for users when there is no data to display.
Original PR description
Show same nocontent message as other views with blank folder icon and same help message to have unified behavior. Task 1878115 Co-authored-by: Mohammed Shekha <msh@openerp.com>
The Map view configuration has been moved into the general settings area, making it easier for administrators to find and manage. This improves setup clarity without changing the core map functionality users rely on.
Original PR description
Task:https://www.odoo.com/web#id=2008967&action=327&model=project.task&view_type=form&menu_id=4720 Pad: https://pad.odoo.com/p/r.3cb992ad9756bdb5373058cc5ecf9099
The salary simulation page now avoids a rendering step that could fail when users had different browser windows open in debug and normal modes. This improves reliability while keeping the same user-facing behavior, with some internal cleanup to make the code easier to maintain.
Original PR description
This commit removes the flatten call from the simulation route which could break in some cases due to having a window in debug=assets and another in normal mode. The flatten call was needed because we were rendering the template before the rollback, but moving the rendering after the rollback enables us to simply remove the flatten call. Rendering after the rollback should not cause any trouble as we put all the needed information in memory (either in the orm cache, either in the values dictionnary), this means that we can access all the values inside the template. Some cleaning of the method is also applied in this commit in order to facilitate its comprehension
Resolved issues and error corrections
Inventory valuation records now use the correct description when a product valuation or costing method changes. This helps finance and inventory teams understand why valuation entries were created and avoids confusion in audit trails.
Changing the quotation template on a sales quote now clears the previously selected optional products. This prevents products from an old template from accidentally staying on the quote, helping sales teams keep quotations accurate.
Original PR description
Description of the issue/feature this PR addresses: <b>Task:</b> https://www.odoo.com/web?#id=2005838&action=333&active_id=131&model=project.task&view_type=form&menu_id=4720 <b>Pad:</b> https://pad.odoo.com/p/r.c9308300096a6d1bef5944a1dcefff74 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 fixes demo and test data so product units of measure are consistent in point of sale, stock, and delivery scenarios. It helps keep sample data and automated checks reliable without changing everyday business workflows.
Original PR description
Task 1883670
Code cleanup and technical improvements
This update consolidates duplicated empty-state messaging used in graph, pivot, and cohort views into one shared component. It reduces maintenance effort and helps keep the user experience consistent when reports have no data to display.
Original PR description
The same template was defined for graph, pivot and cohort views (only the message sometimes slighlty changed). This rev. creates one generic template used by those three views. 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 coding marker that is no longer needed because the system already treats these methods that way by default. It reduces code clutter and helps developers maintain accounting-related features more consistently, with no expected change for end users.
Original PR description
depends on https://github.com/odoo/odoo/pull/34556
This change removes outdated internal coding patterns across several accounting-related areas, aligning the enterprise codebase with newer platform standards. Business users should not see functional changes, but the cleanup helps maintainability and reduces future upgrade risk.
Original PR description
depends on https://github.com/odoo/odoo/pull/34556 and https://github.com/odoo/odoo/pull/34775