Wednesday, January 17, 2024
29 changes
Enhancements to existing features
This update refines how grid images with links are handled in the website editor. The changes remove unnecessary CSS overrides and simplify the code logic by using more reliable detection methods. These improvements make the code cleaner and easier to maintain without affecting how the feature works for users.
Original PR description
Commit [1] added the support for images with a link set on them in grid mode. As a follow up, this commit does the following: - Removes the `!important` from the grid image anchor CSS rules, as they were not really needed. - Checks if the image has a closest `o_grid_item_image` column instead of checking the parent in the `GridImage` options. Indeed, this class already guarantees that the image is well a grid image; we can therefore simplify the code. It also removes a comment that was forgotten in commit [2]. [1]: https://github.com/odoo/odoo/commit/085d70cea571ea80c141ac6005e8bd8333bd269f [2]: https://github.com/odoo/odoo/commit/d8c374e3e6b31bf88aa42952aadf3379936f7600 related to opw-3580128 Forward-Port-Of: odoo/odoo#148152
Resolved issues and error corrections
This update fixes two visual issues in the rental product shop page: removes an unwanted border around the date picker in the sidebar that was causing layout problems, and corrects the validation styling so that invalid rental inputs now properly display with a red border as intended.
Original PR description
### 1. Remove unwanted border Prior to this PR, there was a border on the date picker in the sidebar of the shop page, which created a layout issue. To fix that, this commit removes this border. ### 2. Adapt invalid inputs Prior to this commit, renting inputs were supposed to have a red border when invalid. The related function targeted the wrong name and no longer worked. This commit adapts this function and the style applied to maintain consistency. Requires: - https://github.com/odoo/enterprise/pull/54378 task-3586525
This update adds two new commodity codes for banana imports that replace an outdated code as of January 1, 2024. The change ensures accurate classification of banana products in international trade reporting, with separate codes for Canary Island bananas and other banana varieties. This keeps the system compliant with updated trade nomenclature standards.
Original PR description
From the 1st of January 2024, commodity code [0803 90 10] is replaced by these 2 new codes: - [0803 90 11] Plátano de Canarias - [0803 90 19] Others Source: https://www.nbb.be/en/statistics/foreign-trade/nomenclature-and-codes  opw-3676899 Forward-Port-Of: odoo/enterprise#54359 Forward-Port-Of: odoo/enterprise#54102
This update fixes a visual issue where review dialog boxes on course pages were displaying duplicate borders. When users click to add or edit a review on a course, the dialog box will now display cleanly without the redundant border styling that was previously visible.
Original PR description
Before this PR =================== 1). Go to website slides. 2). Open any Course. 3). Click on 'Add a review' or 'Edit your review'. -> We can see that textarea and div both have a border. After this PR ================= When we are in the pop-up view div border will be not shown. Task-3623765