Friday, June 28, 2024
8 changes · 17.0
Resolved issues and error corrections
The website editor toolbar now displays icons at a consistent size, preventing unwanted horizontal scrolling on some screen sizes. The link creation control also now shows the correct rounded styling, improving visual consistency without changing functionality.
Original PR description
The font-awesome icons taking the `.btn` font-size was making them 14px while the other icons in the web_editor are 12px (eg. the svg ones) It creates an overflow on the #toolbar creating on some screensize an horizontal overflow. This commit applies a font size of 12px on the .fa inside the `#toolbar`. Additionally the createlink was not receiving the border radius rule due to the `#unlink` element being present in the DOM but invisible on screen after the create-link el. Swapping their order in the xml and using the class `order-1` solve the issue without impacting the backend editor. task-3634260 Part of task-3503975
When users reverse an invoice and create a new one, the new invoice now keeps the original notes and section headings. This prevents important context and formatting from being lost during the reversal process.
Original PR description
[FIX] account: fix lines of reverse move The button "Reverse and Create Invoice" allows the user to reverse the current Invoice, and create a copy in one button. When pressing it, all Notes and Sections are lost Solution: Include 'line_section' & 'line_note' in creating the reverse move task-id#3940541 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The Sales order screen now uses Alt+Q for the Create Invoice action instead of Alt+I. This prevents a conflict where Alt+I could open a custom user selection field added through Studio, making keyboard shortcuts behave as expected.
Original PR description
Steps: - In Studio, add a many2one field with the widget "many2one_avatar_user" in SO form - Create a SO and confirm it - Press Alt+I Actual result: - Alt+I is related to "Create Invoice" in UI - Alt+I open the user choice for the added field Expected result: - Alt+Q for "Create Invoice" - Alt+I open the user choice for the added field `q` used to be aligned with [sale_subscription](https://github.com/odoo/enterprise/blob/17.0/sale_subscription/views/sale_order_views.xml#L28) `q` used for "Confirm" action in the same view, should not be a conflict opw-4004869 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fixes an issue where website button style options could be stored using the wrong true/false format, which could make styling behave inconsistently. Existing saved values remain supported, so current websites should continue to work while new edits use the corrected format.
Original PR description
Before this commit, the CSS variables --btn-*-outline and --btn-*-flat when set to true had the value in python style `'True'` (Bug introduced in [1]). This commit fixes the CSS boolean values applied in the `customizeButtonStyle` function with `true` and `false` instead of `'True'` and `'False'`. A workaround has been added to the `_getCSSvariableValue` function in web_editor to maintain retro-compatibility. [1]: https://github.com/odoo/odoo/commit/388e4bb Related to task-137409
Guest users in Discuss public channels no longer see the notification settings button. This prevents them from clicking an option that previously caused a confusing session expired error.
Original PR description
**Current behavior before PR:** In discuss guest user view, notification settings button was visible, which used to throw a "Session Expired" error upon being clicked. **Desired behavior after PR is merged:** In discuss guest user view, notification settings button is removed. **task:3975859** --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The manufacturing overview report now handles production orders where the produced quantity is set to zero. This prevents an error page and keeps the report usable by leaving unsuitable quantity-based fields blank or using a safe default.
Original PR description
Steps --- * create MO * confirm > produce all * unlock > set produced quantity to 0 * click 'Overview' => Traceback (zero div) Fix --- set overview fields that do not make sense when the final production quantity is 0 to `False`, so they are left blank on the report opw-3958811
A small typo was fixed in the web interface code that controls dynamic placeholders. This helps ensure the placeholder feature closes correctly, reducing minor interface glitches for users.
Original PR description
--- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The knowledge module's history revision tour has been updated to align with recent improvements made to the document comparison feature. This ensures the guided tour accurately reflects the current functionality and provides users with an up-to-date learning experience when reviewing document history.
Original PR description
Adapt history revision tour after the improvements done on the comparison feature. task-3761721