Daily updates from Odoo
Monday, October 14, 2024
7 changes · 18.0
Enhancements to existing features
Spreadsheet data is now read more directly, avoiding extra conversion work behind the scenes. This reduces processing time for large spreadsheets, making spreadsheet-related actions noticeably faster without changing user workflows.
Original PR description
This commit removes unnecessary base64 encoding and decoding operations when computing `spreadsheet_data` which contains the serialised json data. Previously, the binary field `spreadsheet_binary_data` was base64-encoded (as is the case with all binary fields), meaning the file was read, encoded to base64, and assigned to `spreadsheet_binary_data`. To retrieve the serialized JSON, it then had to be decoded again. By avoiding this redundant steps, we optimize the time spent in `_compute_spreadsheet_data`: before: ~100ms after: ~30ms Task: 4256155 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 obsolete internal settings from automated guided tests across several Odoo apps. It helps keep the test infrastructure simpler and easier to maintain, with no expected change to everyday user workflows.
Original PR description
After this commit: https://github.com/odoo/odoo/commit/37b35f18bd9138a9a8717d17268f375607b9482e Some attributes were useless in the registry of the tour. They have been deleted. TASK-ID: 4070659 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 product form used in Point of Sale now shows the tracking field, making it easier for users to see whether items are tracked by lot or serial number. This helps staff confirm product tracking requirements directly from the POS-related product view, reducing confusion during setup or review.
Original PR description
<img width="676" alt="Screenshot 2024-10-14 at 10 01 31" src="https://github.com/user-attachments/assets/abe73eca-145c-4c65-80fd-41477892f0cc">
This work adjusts how project and timesheet task screens are presented, including shared task views and related styling. It should make the affected project timesheet pages clearer or more consistent for users, though the PR description does not specify the exact business outcome.
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
Customer statement emails now have a reliable way to identify the responsible person who should sign them, even when the follow-up app is not installed. This prevents missing or incorrect sender details in customer communications and keeps statement emails consistent.
Original PR description
Partner Ledgers can be sent to Partners by email which is usually signed by the `followup_responsible` user, however, `_get_followup_responsible` is defined in `account_followup` which may not be installed. To solve this dependency issue, we define the method in `account_reports`, and the method in `account_followup` now extends it. No task - issue identified by marketing team upon review of the email template.
Spreadsheet documents now avoid an unnecessary data conversion step when reading stored spreadsheet content. This reduces processing time for large spreadsheet files, making spreadsheet access noticeably faster without changing user workflows.
Original PR description
This commit removes unnecessary base64 encoding and decoding operations when computing `spreadsheet_data` which contains the serialised json data. Previously, the binary field `spreadsheet_binary_data` was base64-encoded (as is the case with all binary fields), meaning the file was read, encoded to base64, and assigned to `spreadsheet_binary_data`. To retrieve the serialized JSON, it then had to be decoded again. By avoiding this redundant steps, we optimize the time spent in `_compute_spreadsheet_data`: before: ~100ms after: ~30ms Task: 4256155
This update removes outdated setup details from automated guided tour tests after recent platform changes. It keeps internal test definitions simpler and easier to maintain, with no expected change for end users.
Original PR description
After this commit: https://github.com/odoo/odoo/commit/37b35f18bd9138a9a8717d17268f375607b9482e Some attributes were useless in the registry of the tour. They have been deleted. TASK-ID: 4070659