Daily updates from Odoo
Monday, July 23, 2018
10 changes · master
Security fixes and vulnerability patches
This update strengthens security checks before generating financial, payroll, manufacturing, and HR reports. It helps prevent users from seeing report data for companies or records they no longer have permission to access, reducing the risk of unauthorized disclosure.
Original PR description
task: https://www.odoo.com/web#id=1823127&action=333&active_id=967&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
Accounting reports now enforce stricter access and company-scope checks so users only see financial information they are allowed to view. This reduces the risk of unauthorized access to sensitive accounting data across companies and report exports.
Original PR description
- Privatize methods - Check read access to account.move.line - Check multi-companies access in reports task: https://www.odoo.com/web#id=1823127&action=333&active_id=967&model=project.task&view_type=form&menu_id=4720
Enhancements to existing features
Stock lots can now show the related sales and purchase orders tied to completed movements, making it easier to trace where items came from and where they went. The update also adds automatic follow-up activities when lots reach their expiration date, helping teams act on expiring products sooner.
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
Repair quotations now include the product description on repair lines and repair fees, matching the way regular sales quotations are presented. This makes printed repair quotations clearer and more consistent for customers and staff.
Original PR description
Task - https://www.odoo.com/web?#id=1834225&view_type=form&model=project.task&action=327&menu_id=4720 Pad - https://pad.odoo.com/p/r.c17b9d917ad4809829b2468a144b7497
This update simplifies internal test code by replacing custom testing helpers with a shared standard method. It helps keep accounting and landed cost tests easier to maintain, with no expected change for day-to-day users.
Original PR description
Remove stuff used for testing purposes in order to use the generic AssertRecordValues method. see: https://github.com/odoo/odoo/pull/25129 task: 1856976 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
A new testing helper makes it easier for developers to compare groups of records against expected values. This improves test clarity and consistency, helping reduce maintenance effort without affecting end users.
Original PR description
This method will help to compare a recordset with their expected values, in the form of a list of dict -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Resolved issues and error corrections
This fixes a display issue where image upload fields could appear incorrectly after a recent button-related change. Users should see a cleaner, properly aligned image field layout when working in forms.
Original PR description
Issue : https://www.odoo.com/web#id=1864027&action=333&active_id=1278&model=project.task&view_type=form&menu_id=4720 Pad: https://pad.odoo.com/p/r.831c0d30d3e2dc2b9b52cc6b36da7049
This fixes a Mail interface issue where clicking the “Planned Activity” label closed the window instead of expanding or collapsing the section. Users can now interact with planned activities as expected without being unexpectedly returned to the main screen.
Original PR description
Pad:https://pad.odoo.com/p/r.ffefe771f9bb5e7b2b4391996636239c Task:https://www.odoo.com/web#id=1864452&action=333&active_id=1278&model=project.task&view_type=form&menu_id=4720 …ther then expand/collapse it just close the window and come to main screen TasK: 1864452 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 prevents report downloads from crashing when the report name contains a slash character. Slashes in download file names are now safely replaced with underscores, helping users export reports without errors.
Original PR description
Task link: https://www.odoo.com/web#id=1867496&action=333&active_id=1278&model=project.task&view_type=form&menu_id=4720 Pad link: https://pad.odoo.com/p/r.104254e8717fb962ba02b411b4a1e45b 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 expected test data for Mexican electronic invoicing so product descriptions and identification numbers match the intended invoice XML. It helps keep automated checks reliable and reduces false test failures without changing customer-facing behavior.
Original PR description
Fixes: - Error in the product description and identification number within an expected file, this change refers to the following fields in the XML in `cfdi:Concepto`: * `Descripcion` * `NoIdentificacion` Odoo commit about this change: https://github.com/odoo/odoo/commit/bed29a4aeab0ec6ef0c02975ee86655d6a030299