Sunday, May 5, 2024
3 changes · saas-17.1
Miscellaneous changes
Currently, if we select the correct answer for a quiz question, `primary theme color(purple)` is applied to the `fa-check` icon. Hence, it is difficult to distinguish between the correct and incorrect answers. This PR changes the color applied to the `fa-check` icon in case a correct answer is selected, from `primary theme color(purple)` to `success theme color(green)`. Task-[3884674](https://www.odoo.com/web#id=3884674&menu_id=4722&cids=2&action=333&active_id=965&model=project.task&view
Original PR description
Currently, if we select the correct answer for a quiz question, `primary theme color(purple)` is applied to the `fa-check` icon. Hence, it is difficult to distinguish between the correct and incorrect answers. This PR changes the color applied to the `fa-check` icon in case a correct answer is selected, from `primary theme color(purple)` to `success theme color(green)`. Task-[3884674](https://www.odoo.com/web#id=3884674&menu_id=4722&cids=2&action=333&active_id=965&model=project.task&view_type=form) Forward-Port-Of: odoo/odoo#163287
Since this issue does not happen in more recent versions, it has probably been fixed by the recent improvements in the tests setups of website_sale. This commits backports those changes to hopefully make the tour more deterministic and solve the issue. runbot issue 47213 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#164413
Original PR description
Since this issue does not happen in more recent versions, it has probably been fixed by the recent improvements in the tests setups of website_sale. This commits backports those changes to hopefully make the tour more deterministic and solve the issue. runbot issue 47213 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#164413
To reproduce : ============== - from rental settings, make rental unavailable on Sunday - with a customer, on timezone UTC+X, create a rental order for a product that is available on Monday -> the checkout button is disabled Problem: ======== the selected dates are converted to UTC before sending them to server, which makes the server think that the selected date is the day before the actual selected date. Solution: ========= localize the selected dates to the user's timezone
Original PR description
To reproduce : ============== - from rental settings, make rental unavailable on Sunday - with a customer, on timezone UTC+X, create a rental order for a product that is available on Monday -> the checkout button is disabled Problem: ======== the selected dates are converted to UTC before sending them to server, which makes the server think that the selected date is the day before the actual selected date. Solution: ========= localize the selected dates to the user's timezone as we need to retrieve the day of the week in the user's timezone. opw-3778366 Forward-Port-Of: odoo/enterprise#61047