Daily updates from Odoo
Monday, August 5, 2019
10 changes
Resolved issues and error corrections
This fixes an issue in manufacturing where work orders could not be grouped by date in reporting or planning views. Businesses get more reliable schedule overviews, making it easier to review production workload by time period.
Original PR description
-- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Creating a bill of materials from a product now pre-fills only the finished product, not each component line. This avoids accidental use of the finished product as a component, reducing data entry mistakes in manufacturing setup.
Original PR description
The action called from the product's bom stat button (mrp.product_open_bom) fill the key 'default_product_id'. This allows, creating a bom from the list view, to prefilled the product. This context key will also fill each new bom line as the technical field is called product_id too. This commit overrides default_product_id to False for the bom line One2many in the bom form view in order to only prefill the finished product and not the components. Task : 2045485
This fix prevents the mobile apps icon from appearing while users search in Settings. It keeps search results cleaner and helps users focus on the settings that match their query.
Original PR description
The mobile apps icons were always showing even during a search in the settings. 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 fullscreen course player now shows the selected lesson name as the browser page title. This helps learners and staff better identify the current lesson when using fullscreen mode or switching between browser tabs.
Original PR description
Description of the issue/feature this PR addresses: Task id: https://www.odoo.com/web?#id=2040899&action=333&active_id=131&model=project.task&view_type=form&menu_id=4720 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 an issue where the calendar would not open from the activity menu when users clicked the calendar icon while adding a note. It also clears the previously selected date when starting another note, preventing accidental reuse of old dates.
Original PR description
Since commit `a3d98dae68b97aeb7c36ca93c31f067535cbe8fd` the calendar is no longer opening when clicking on the calendar icon in the activities when adding a note. 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
Phone number validation now preserves the original spacing behavior more accurately while cleaning numbers. This prevents small mismatches between what users enter and what the system returns after validation, reducing confusion in contact data handling.
Original PR description
This commit ensures that we only strip the spaces of a phone number
{string} field on its sanitization to avoid differences between the
input and result of the function `phone_sanitize_numbers_string_w_record`.
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-prUpdating follower notification preferences no longer closes the preferences menu or causes unwanted page scrolling. This makes it faster and less frustrating for users to adjust multiple notification options, while also reducing unnecessary background calls.
Original PR description
Description of the issue/feature this PR addresses: Task: https://www.odoo.com/web?#id=1960834&action=333&active_id=131&model=project.task&view_type=form&menu_id=4720 Pad: https://pad.odoo.com/p/r.7b2f7840a5ff2e4d6f5e50dc8353124b 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 an error that could occur when creating a new course in the eLearning/Slides app. The change ensures the needed page template is loaded at the right time, so users can create courses without hitting a crash.
Original PR description
Description of the issue/feature this PR addresses: - Task - https://www.odoo.com/web#id=2040460&action=327&model=project.task&view_type=form&menu_id=4720 - Pad - https://www.odoo.com/web#id=2040460&action=327&model=project.task&view_type=form&menu_id=4720 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This change prevents Gantt view date-based totals from generating an invalid data request that could cause the view to fail. Business users benefit from more reliable planning and reporting when viewing aggregated values by date.
Original PR description
When aggregating a field x per date, the generated read_group contained field:date in the fields list as well as in the group by list. The one in the fields list make read_group crash. Internally, some data of the gantt views are indexed by field or by field:date
Fixes an error that could occur when users clicked "Overview" from the Project kanban view while Forecast was installed. This keeps project navigation working reliably and avoids disruption for teams using forecasting features.
Original PR description
This commit fixes a traceback when clicking on "Overview" in Project kanban view with Forecast installed. Since project forecast actions have been made into xml actions, there is a problem in the way the context is retrieved by a stat button method in project overview, considering it as a dict when it is now a string to parse. opw-2037280