Daily updates from Odoo
Wednesday, November 28, 2018
21 changes · master
New functionality added to Odoo
This change adds a test to ensure that assigning a salesperson without a sales team does not accidentally replace the existing sales team on a CRM lead. It helps prevent regressions that could disrupt sales ownership and reporting.
Sales teams can now create a helpdesk ticket directly from a CRM lead. This makes it easier to route incoming requests from the lead pipeline to customer support without re-entering information.
Original PR description
Purpose : leads are used as a general incoming pipeline for messages. There should be an easy way to convert a lead into other business objects like helpdesk tickets. This commit adds a new module crm_helpdesk that brings a button in a lead form view allowing quick creation of a helpdesk ticket from the lead (similar to crm_project in community for converting leads to tasks). Closes #3003 Task-1867574
Enhancements to existing features
The manufacturing unbuild form now uses clearer labels and tooltips so users better understand fields such as lot/serial number and source location. When an unbuild is based on an existing manufacturing order, product and bill of materials fields are made read-only because they are no longer needed for that workflow.
Original PR description
Add some tooltips and rename labels for lot and source_location fields. More details in specific commits Task link : https://www.odoo.com/web?#id=39843&action=327&model=project.task&view_type=form&menu_id=4720 Pad link : https://pad.odoo.com/p/r.c50cfff56ca538324f15214213c860d9
The documentation now warns that browser zoom must be set to 100% when running JavaScript tests. This helps teams avoid wasting time on false test failures caused by browser display settings rather than product issues.
Original PR description
This commit adds a warning for a common cause of mistakes, while running the JS test suite. 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 change updates how Odoo decides whether to show reinvoice policy options on product forms. It keeps the same business behavior while making the setup easier to maintain and extend across Sales, Timesheets, and Expenses.
Original PR description
Impacted modules: sale, sale_timesheet, sale_expense The purpose of this commit is to remove harcoded list of xml ids that are not defined in the module 'sale'. This commit brings a new implementation of the feature (hiding re-invoice policy on product form view, depending of multiple user groups). The approach is more modular and easy to extend than the previous one. Therefore, this commit is completely technical and does not change any functionnal behavior. Task-1896095 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
Point of Sale settings can now limit which product categories are loaded for each register or location. This helps businesses with multiple points of sale show only the relevant products, making checkout faster and easier for staff.
Original PR description
Before this commit, it was not possible to effectively limit the available products when a company had several POS with different product offers. This commit allows limiting the available product categories for a single POS. Now, a company can serve different POS with different product offerings. Anecdotal Note: This was especially annoying as the POS only shows 100 products. If those happened to be the products not served by a signle POS, the only work around was using the search bar (on a tablet?!?) task: https://www.odoo.com/web#id=1902342&action=333&active_id=1428&model=project.task&view_type=form&menu_id= 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
Manufacturing bill of materials lines now use one consistent attachment icon and show the number of linked documents next to it. This makes it easier for users to quickly see whether supporting documents are available without interpreting different icons.
Original PR description
…d after show total number of attachments in bom line. task:https://www.odoo.com/web#id=1878242&action=333&active_id=131&model=project.task&view_type=form&menu_id=4720 pad: https://pad.odoo.com/p/r.ba59776e2a8f01e0c7b15ff0b4347a76 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
Inventory move line records now carry the company they belong to, matching their related stock move when available. This enables Odoo to show users only the inventory movement details for their own company or child companies, improving data separation in multi-company setups.
Original PR description
Description of the issue/feature this PR addresses: - Task : https://www.odoo.com/web#id=1905232&action=333&active_id=131&model=project.task&view_type=form&menu_id=4720 - Pad : https://pad.odoo.com/p/r.922b13644de51131751daa2e7416b14f Current behavior before PR: - Add a field company_id on the stock move lines to only show the product moves of the company of the user. Desired behavior after PR is merged: 1. Add a field company_id on the stock.move.lines, related (from stock.move) + stored + read-only 2. Create a record rule to only show the SML from the current company of the user (or from children companies) -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Returns now default to updating related sales or purchase order quantities, making stock returns better aligned with order records. The option is renamed to a clearer business label and hidden from non-debug screens to reduce confusion for everyday users.
Original PR description
Pad:https://pad.odoo.com/p/r.a088b8121e5da9afb5f5cddfa631009f Task:https://www.odoo.com/web#id=1880715&action=333&active_id=131&model=project.task&view_type=form&menu_id=4720 -Ticked by default(Update quantities on SO/PO) -Hidden in debug mode -Rename label "To Refund (update SO/PO) into Update quantities on SO/PO" This commit is related to task ID 1880715 and closes PR # . 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
Manufacturing orders can now be planned in draft before related component movements are launched, giving users more control over when procurement and stock rules run. The update also improves how production status is determined, supports extra components through the normal workflow, and makes manufacturing information easier to filter and review.
Original PR description
The purpose of this PR is to allow more flexibility on Manufacturing. It will allows: - Pull and Push rules are no more directly trigger. It will require a confirmation from the user in order to launch them. (except when it comes from another rule) - The user will be able to add extra components. Those components will follow the classic flow (trigger rules, will be present in workorders and produce wizard, ...) - State will be computed and will not require explicit write - Advanced filter Task 1889384
Products can now show volume in either cubic meters or cubic feet based on a general setting. This makes product information clearer for companies using different measurement systems and also improves how weight is displayed on product forms.
Original PR description
Task link : https://www.odoo.com/web?#id=1869002&action=327&model=project.task&view_type=form&menu_id=4720 Pad link : https://pad.odoo.com/p/r.f8a06c15faed51b168eb6ac8c5a01be1 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
Product pages now include a direct way to access related quality points. This makes quality information easier to find from the product view and helps teams manage quality checks more efficiently.
Original PR description
Impacted version : master Current behavior : No acces to quality point from product view. Futur behavior :  @jco-odoo
Product users can now access related quality control points directly from the product view. This makes it easier to review or manage quality requirements without navigating through separate quality menus.
Original PR description
Impacted version : master, 10 Current behavior : No acces to quality point from product view. Futur behavior : 
Resolved issues and error corrections
This fix ensures notification-related tests clean up the extra page element they create. It helps keep automated tests reliable by preventing leftover test artifacts from affecting later checks.
Original PR description
The NotificationService has a side effect: it adds a div inside document.body. We could implement a cleanup mechanism for services, but this seems a little overkill since services are not supposed to be destroyed anyway. 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
Purchase users can now confirm a request for quotation linked to an exclusive purchase agreement even when manager approval is required. The agreement is closed only after the order is approved, preventing an incorrect blocking error and keeping the approval workflow intact.
Original PR description
…pprove Task ID : https://www.odoo.com/web?#id=1884410&action=333&active_id=131&model=project.task&view_type=form&menu_id=4720 Pad link : https://pad.odoo.com/p/r.e5e7435456e1ca31053ac3a88134c41b 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 fixes an issue where editing translated XML or HTML text could accidentally remove translations in other languages. Businesses using multilingual content will have more reliable translations after synchronization, reducing rework and inconsistent customer-facing text.
Original PR description
Modifying a source term in an XML/HTML translated field can lose translations if the same term is translated in several languages.
This fixes an issue that could prevent a unit of measure form from opening when the Mexico electronic invoicing module is installed. The change helps users access the affected configuration screen without encountering a view loading error.
Original PR description
Fixed error when try loads the view. `Element '<xpath expr="//form/group">' cannot be located in parent view Error context: View view.uom.uom.form.inh.l10n.mx [view_id: 887, xml_id: n/a, model: uom.uom, parent_id: 184]`
Features or functions removed from Odoo
The CRM Project module that let users quickly create project tasks from sales leads has been removed because it is no longer considered useful. Users should now track follow-ups with activities, while lead conversion to helpdesk tickets is handled through the newer Enterprise CRM Helpdesk option.
Original PR description
Purpose : This module was allowing to quickly create tasks from leads. It is now considered as useless, and an activity should be used instead. We bring another module crm_helpdesk in enterprise to convert leads to helpdesk tickets, which appears more useful. Closes #28425 Task-1867574 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Code cleanup and technical improvements
The website-related JavaScript has been reorganized into more standard structures across blogs, forums, events, slides, links, and ecommerce delivery. This internal cleanup should make website features easier to improve, fix, and test over time without changing the visible user experience.
Original PR description
Reorganize the javascript to use conventional website widgets, rpc calls, classes, ... This will allow to better improve, fix and extend the existing behaviors. This is also a first step towards automatically testing website features more correctly. This work was started with https://github.com/odoo/odoo/pull/27719
Website-related JavaScript code was reorganized to follow standard conventions and make future maintenance easier. This is an internal cleanup with no expected change to customer-facing website features, but it should reduce the risk and cost of future updates.
Original PR description
See https://github.com/odoo/odoo/pull/28404 This work was started with https://github.com/odoo/enterprise/pull/2886
This update aligns manufacturing-related apps with a renamed status field from the core system. It keeps production, quality, purchasing, and accounting workflows consistent and helps avoid mismatches in tests, demo data, and screens.
Original PR description
Adapt field rename from community commit