Daily updates from Odoo
Wednesday, August 21, 2019
26 changes · master
Enhancements to existing features
Duplicating a stock operation type no longer reuses the original numbering sequence. This prevents confusion and helps each copied operation type get its own appropriate sequence setup, especially since the sequence setting is normally hidden outside debug mode.
Original PR description
When a picking type is duplicated, the sequence was by default copied into the new picking type. This behaviour has become misleading since the sequence_id is shown only on debug mode. We now simply prevent sequence_id of being copied. TaskID: 205731
This update makes the order of added selection options more predictable when existing choices are extended. It also tightens validation rules so customizations follow safer patterns, reducing unexpected behavior in CRM and Sales workflows.
This update improves wording in manufacturing work orders so labels better match manufacturing orders. It also hides completed quantity information until work has started, reducing confusion for shop floor users.
Original PR description
Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: task-1889396 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The product page statistics button now shows a clearer “Variants” label and improves spacing between quantity values and their unit of measure. This small interface cleanup makes product information easier to read for users managing inventory and product variants.
Original PR description
Task : https://www.odoo.com/web#id=2050215&action=327&model=project.task&view_type=form&menu_id=4720 Pad: https://pad.odoo.com/p/r.39a171d1dca88f02c072b36c13ef2be5 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
Product-related updates now clear only the necessary cached information instead of refreshing broader data. This should improve performance and make future maintenance easier without changing how users work with products.
Original PR description
rebase-ff
Resolved issues and error corrections
This fixes a button in the Stock SMS flow that was pointing to the wrong action. Users can now proceed with the intended stock SMS confirmation without the button failing or triggering the wrong behavior.
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 fix ensures the Lunch product report shows accurate information for users reviewing lunch product activity. It helps businesses rely on the report for clearer operational tracking and avoids misleading results.
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
Fixed a display issue in Manufacturing where work order cards could overlap or show inconsistent widths when grouped by status. This makes the work center overview easier to read and helps users manage production tasks without visual confusion.
Original PR description
Task Link - https://www.odoo.com/web#id=2052465&action=327&model=project.task&view_type=form&menu_id=4720 Pad Link - https://pad.odoo.com/p/r.d8cabb0568411bf77323ffd0d3de2dd2 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update fixes a small typo in the stock return workflow. It improves clarity for users without changing how inventory operations work.
Original PR description
Description of the issue/feature this PR addresses: Fixed typo 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 small typo in the Accounting app. It improves clarity for users without changing how the system works.
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
Printing the Bill of Materials structure report could fail with an error. This fix prevents that crash so manufacturing users can reliably generate and share BOM structure reports.
Original PR description
Task Link - https://www.odoo.com/web#id=2024247&action=327&model=project.task&view_type=form&menu_id=4720 Pad Link - https://pad.odoo.com/p/r.c28a10058d84c7d95350e8d64f76063f -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Changing dates in manufacturing orders or work orders could trigger an error because the updated date was handled in the wrong format. The fix converts those date changes correctly so users can update schedules without interruption.
Original PR description
**Task :** https://www.odoo.com/web#id=2055912&action=327&model=project.task&view_type=form&menu_id=4720 **Pad :** https://pad.odoo.com/p/r.8b514502306082b0d9b65f2fdc13fe6c **Description :** Traceback appeared as the new date was being passed as a string instead of datetime. corrected that -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fixes an error that appeared when users clicked the Work Orders button from the Work Centers Overview in Manufacturing. Users can now access planned work orders from the overview without seeing a failure message, helping production teams navigate their daily work more smoothly.
Original PR description
How to reproduce: - Install mrp & mrp_workorder; - Open Manufacturing and plan a workorder; - Go on the Work Centers Overview; - Click on "WORK ORDERS" button -> You got a "Something went wrong !".
The Work Orders button on a work center now shows only the work orders linked to that selected work center. This prevents users from seeing unrelated manufacturing work orders and helps teams focus on the correct workload.
Original PR description
Before this commit, when your click on "WORK ORDERS" button from workcenter kanban view, you go workorders kanban view, but workorders aren't filtered by the workcenter id (they must do). How to reproduce: - Install mrp & mrp_workorder (enterprise); - Open Manufacturing and plan a workorder; - Go on the Work Centers Overview; - Click on "WORK ORDERS" button -> You got all WO not in cancel or done state, but they aren't filtered by the workcenter you clicked on. The issue was the filter wasn't passed in the context.
Fixes an issue in Sales where the count of quotations to invoice could be computed incorrectly after a recent change. This helps sales teams see more reliable invoicing information in their pipeline and reports.
Creating a bank statement now uses the existing journal type instead of trying to save it again. This prevents unnecessary updates and avoids issues when the journal type field should remain read-only.
Original PR description
As it is is trying to write the journal type field everytime we try to create a account.bank.statement record, even when the value we try to write is the same already, it is assigned again in the journal. With this new change we are not trying to overwrite the journal's type field anymore. Only using it. Closes #35578 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 Work Orders button on the Work Centers Overview now shows only the orders for the selected work center. This prevents users from seeing unrelated work orders and helps manufacturing teams focus on the right workload.
Original PR description
Before this commit, when your click on "WORK ORDERS" button from workcenter kanban view, you go workorders kanban view, but workorders aren't filtered by the workcenter id (they must do). How to reproduce: - Open Manufacturing and plan a workorder; - Go on the Work Centers Overview; - Click on "WORK ORDERS" button -> You got all WO not in cancel or done state, but they aren't filtered by the workcenter you clicked on. The issue was the search filter wasn't passed in the context.
This change fixes an error that could occur when opening or using barcode-related settings on inventory transfer types. It helps ensure warehouse configuration screens load reliably for users managing barcode workflows.
Original PR description
Follow up of revision https://github.com/odoo/odoo/commit/fd6aa428ce7b7ab03ba920b1c020f5862f56f731. TaskID: 2057441
This fixes an internal error that could occur when CRM leads were processed after an older website page view feature had been removed. The change helps keep website lead scoring stable without changing user-facing workflows.
Original PR description
Since Website_visitor and removal of page_views model, _merge_pageviews method have been deleted, but not the call that was done from crm.lead. Task ID: 2057422
This fix removes an unnecessary second translation step for a dashboard label that was already translated. It prevents warning messages in the system logs and helps keep the subscription dashboard behavior clean and reliable.
Original PR description
The name is already properly translated with a _lt, no longer needed Trying to call a _() with a _lt makes a warning, "unhashable type: '_lt'"
This fixes how an error message is prepared in SEPA Direct Debit payments so translated messages display correctly. It helps users in different languages see clear, accurate payment validation errors.
Original PR description
Correctly set dynamic values outside of the translation lookup, ref https://www.odoo.com/documentation/12.0/reference/translations.html#variables
Fixed an issue that caused an error when users tried to print the Bill of Materials structure report. This helps manufacturing and PLM users generate BOM reports reliably without interruption.
Original PR description
Task Link - https://www.odoo.com/web#id=2024247&action=327&model=project.task&view_type=form&menu_id=4720 Pad Link - https://pad.odoo.com/p/r.c28a10058d84c7d95350e8d64f76063f
The Map app settings page layout has been corrected so options display properly. This makes configuration easier and reduces confusion for users managing map-related settings.
Features or functions removed from Odoo
The empty test_pylint module has been removed because it no longer provides any functionality. This is a small cleanup that reduces unnecessary files and helps keep the codebase easier to maintain.
This update removes code in the stock module that was no longer being used. It helps keep the system easier to maintain without changing day-to-day user workflows.
Original PR description
Description of the issue/feature this PR addresses: This code is not use. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Code cleanup and technical improvements
This update makes minor internal cleanup changes in the employee appraisal area. It helps keep the codebase consistent and easier to maintain without changing how users work with appraisals.