Tuesday, June 25, 2024
5 changes · saas-17.3
Resolved issues and error corrections
The website forum navigation now displays the correct horizontal spacing after the Bootstrap update. This fixes a visible layout issue, especially for selected navigation items, improving the forum’s visual consistency for visitors.
Original PR description
This PR fixes a visual issue about the forum navbar not having a horizontal padding anymore, which is easily noticeable on when an item has the `.active` class. With the migration to Bootstrap v5.3, we need to scope our `.nav-link` utility classes within a `.nav` one in order to inherit the CSS variables. To handle this issue, we simply add the missing `.nav` utility class and a `d-block` to override de `d-flex` sets by the utility class. task-4009043 | 17.3 | This PR | |--------|--------| | <img alt="image" src="https://github.com/odoo/odoo/assets/128030743/b2a9550f-7422-4c92-83d2-e3affe31c54d"> | <img alt="image" src="https://github.com/odoo/odoo/assets/128030743/e71c36ca-0e71-4969-a6db-6d086b3f3b77"> | --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The accounting dashboard now excludes draft and cancelled payments by default when opening Bank > Payments. This keeps the payment list aligned with the amount shown on the dashboard card, reducing confusion during reconciliation review.
Original PR description
Problem --- In the accounting dashboard, when going to Bank > Payments draft and cancelled payments are not filtered out by default. This makes the amount displayed on the kanban card inconsistent with the sum of the payments that are shown by default. opw-3978180
Card elements in the web interface now use a white background again, matching the appearance users had before the Bootstrap update. This keeps screens visually consistent and avoids unintended background color changes, while also simplifying related styling setup.
Original PR description
- Requires https://github.com/odoo/enterprise/pull/65166 - task-4004392 - part of task-3883628 --------- This PR aims to restore the previous `background-color` of our cards prior to the Bootstrap v5.3 migration. Before we migrated to a newer version of Bootstrap, our cards were using the default. value from the library, which was set to white. Within our dark mode files, we'd then override it to another value. As Bootstrap v5.3 defines the background of card as `$body-bg`, we need to replace that value with white. We also take that opportunity to simplify the declaration of our variables removing a useless declaration within a `.dark` file. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update removes an outdated styling override that is no longer needed after recent design framework changes. It helps keep dark mode visuals consistent while simplifying maintenance, with no expected functional impact for users.
Original PR description
- Requires https://github.com/odoo/enterprise/pull/65166 - task-4004392 - part of task-3883628 ------------------------ This PR removes an unnecessary variable override within our `.dark` files. Before `saas-17.3`. which introduces a migration to Bootstrap v5.3, the `$card-bg` was set to `white` in light mode, which needed an override in dark mode as it'd still be pure white. As we change that value to `$o-view-background-color` which matches the `$card-cap-bg` value, we can remove that override.
This fixes an issue when creating component records in the Master Production Schedule where the ordering value could be calculated from multiple planning records instead of the relevant parent record. It helps keep component lines correctly sequenced and avoids errors during planning setup.
Original PR description
At component record creation, the sequence is based on `mps.mps_sequence`. However, mps can contain multiple records. This PR extract the sequence of the parent record to calculate the sequence of its components.