Friday, October 25, 2024
8 changes · saas-17.4
Resolved issues and error corrections
Draft orders created through point of sale now keep the correct sales team assigned. This helps sales reporting and follow-up stay accurate when orders are saved before completion.
Original PR description
Before this commit, the sales team could be missing from an order captured as draft due to writing a false value. opw-4230882 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The Inventory Overview now displays the back orders field and its label correctly when users group records or apply filters. This prevents visual overlap on inventory cards, making the overview easier to read and reducing confusion for warehouse users.
Original PR description
In the Inventory Overview, when 'group by' or custom filter is applied, the back orders field and its label overlap on the kanban card. Steps to reproduce: 1. Open Inventory --> Overview. 2. use 'group by' or apply a filter. 3. Observe the back order field on the kanban card for overlapping issues. OPW-4188426 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix prevents Odoo from trying to retrieve delivery tracking links from carriers that are not active. It reduces errors in testing or inactive carrier setups and helps keep delivery operations more reliable.
Original PR description
We should only try to fetch tracking_url for the delivery carriers which are active. We get errors when running database in test as this leads database trying to fetch url from external and neutralize of database not working as expected. 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
Alert link styling has been moved to the report-specific area so PDF reports keep the intended colors without affecting the rest of Odoo. This prevents dark mode screens from incorrectly using light mode alert link colors, improving visual consistency for users.
Original PR description
Changing bootstrap versions caused a change in how the color for the alert-link class was being chosen which broke something with pdf reports. A change was then made to fix pdf reports but this ended up breaking alert-links elsewhere in Odoo and the light mode colors for alert-links were being used in dark mode. This change moves the styling to a report specific scss file to resolve the issue in the backend. Here is the aforementioned change: https://github.com/odoo/odoo/pull/178824 opw-[4211334](https://www.odoo.com/web#id=4211334&view_type=form&model=project.task)
PDF generation no longer creates misleading device log entries that make automated report requests appear as real user devices. This keeps device history cleaner while preserving normal activity tracking for users working at the same time.
Original PR description
Issue: ------ During pdf generation, wkhtmltopdf creates device logs via a request. The user agent of this request is: ``` Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.34 (KHTML, like Gecko) wkhtmltopdf Safari/534.34. ``` The result is that a `Linux - Safari` device log is created. Solution: --------- This must be prevented using the `_disable_trace` server-side mechanism of the session object. However, we don't want to add this flag to the session currently used by the user in order to continue generating logs even during report generation for activities performed in parallel. The possibility of creating a temporary session on the filesystem which is a copy of the current session with the `_trace_disable` flag is a good solution.
A previous adjustment to a subscription performance test has been undone because the related underlying change is also being reverted. This keeps the test expectations aligned with the current system behavior and helps avoid misleading test failures.
Original PR description
This reverts commit a0a5dea9178d7db7ef35d8241ad13f8bac406044 as we're reverting e3acf5937cd7a65087a0178fadd666dead2b99db opw-4270399
Restaurant floor screens now show only appointments scheduled for the current day on tables. This prevents staff from seeing future bookings too early and helps avoid confusion during daily service.
Original PR description
Before this commit, next appointment was shown on a table even if this appointment was not for today. We not only allow to show today's appointment on the floor screen. task-id: 4285487
Fixed a display issue when moving signature fields in the Sign app. Users now see cleaner drag behavior, with the original field properly hidden and fields no longer disappearing when moved outside a page area.
Original PR description
Before this commit when dragging a sign item, the initial copy wasn't invisible completely. For example placeholder, dragging arrow were still visible. This commit aims to fix the issue by setting visibility of sign_item_body to be same as parent. Task: 4195899