Thursday, September 12, 2024
6 changes · 17.0
Resolved issues and error corrections
Guest users in live chat and mail could see a “Download Files” option that they were not allowed to use, causing an error. The update hides that option for non-internal users, preventing failed downloads and creating a smoother guest experience.
Original PR description
Download files are restricted to the internal users by acl. This commit adapts the UI so the feature would not be available for non-internal users. Steps to reproduce: - Go to a public channel as a guest - Send a message with multiple attachments - Try to download all of them by clicking on Download Files in the message action menu - It crashes with Forbidden error
Industry modules now show Odoo S.A. as their author in the Apps list instead of appearing as unknown. This helps users identify the source of installed industry apps more clearly and avoids confusion in app listings.
Original PR description
Steps To Reproduce: - Install any industry module - Go to Apps, list view Current behaviour: author is displayed unknown Expected behaviour: author should display Odoo S.A. Task- 3959713
The stock forecast report now clearly highlights late purchase order lines in red again. This restores the expected visual warning so users can quickly spot supply delays that may affect deliveries.
Original PR description
### Steps to reproduce: - Create a storable product with 0 unit in stock - Create and confirm a Sale order for 1 unit fo that product - Create and confirm a Purchase Order for 1 unit of that product and an expected date further than the delivery date. - Click on the chart icon on the pol to be redirected to the forecast ### Expected behavior: The line should be displayed in red since the PO is late just as in 16.0 as the cell has the "".o_grid_warning" class. ### Current behavior: It is not. ### Cause of the issue: The `o_report_replenishment` class does not exist in 17.0 and the `table` class is used instead the html of the report so that the css file is not defining the color of the `o_warning` class correctly anymore. opw-4161304 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fixes an issue where changing the allocation type while creating a Time Off allocation could overwrite the name the user had entered. The allocation form now preserves the intended name, reducing rework and confusion for HR users.
Original PR description
### NOT FOR MASTER **17.0 -> Master - 0.1** Steps to reproduce the bug: - Go to Time Off -> Allocation -> Create - put a name - change the allocation type -> the name is reset Expected result: The name should not be reset to the old value Reason: The displayed name is relies on the private_name field to get its value. And thus every time an onchange is triggered the name is reset. Fix: Put the private_name field in the form view instead of the name field. Because we rely on the onchange of name on the dashboard to task-3713656 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The analytic module’s tests were updated to avoid relying on accounting or product features that are not part of its required setup. This helps single-app test runs complete reliably and reduces the chance of false failures during validation.
Original PR description
Before this fix `TestAnalyticMixin` used `product.product`, `account.move` and `account.move.line`, but `analytic` does not have these models in its dependencies. So this test causes `Single App` tests (when tests are run with just concerned modules and its dependencies) to fail. This commit adapts the tests so that they only use `account.analytic.*` models. original fix: https://github.com/odoo/odoo/commit/9d51fa9daee09e5467d38c5a890be7c0392d93f4 runbot error logs: https://runbot.odoo.com/web#id=74493&menu_id=405&cids=1&model=runbot.build.error&view_type=form
This fix removes the date granularity selection option from relative and from/to date filters in spreadsheets, where it was not applicable. The granularity option now only appears for period-based filters, making the interface cleaner and less confusing for users.
Original PR description
[FIX] *_spreadsheet_*: useless filter date granularity option In task 3887844 we added the possibilty to select which date granularities were available for a given period global filter. But this options was also displayed for relative and from/to global filters, where it made no sense. Task: [4176679](https://www.odoo.com/odoo/2328/tasks/4176679)