Thursday, June 27, 2024
3 changes · saas-17.1
Resolved issues and error corrections
The Point of Sale interface now correctly applies the large scrollbar setting again after a previous redesign broke it. This improves usability for businesses relying on larger scrollbars for easier navigation on POS screens.
Original PR description
After the refatoring of the POS, the big scrollbar options does not work anymore. This commit restore the big scrollbar options. taskId: 3419014 opw-3998526 Close this one: https://github.com/odoo/odoo/pull/170746
This update removes a compatibility warning that could appear when handling accounting-related documents on Python 3.12. It helps keep system logs and automated checks clean without changing user-facing behavior.
Original PR description
Since Python 3.12 a deprecation warning is emitted when testing the truth value of an xml etree element. See: https://docs.python.org/3.12/whatsnew/3.12.html#deprecated
This update makes an automated restaurant preparation display test more reliable by creating the needed food category directly instead of depending on sample data that may not exist. It helps prevent false test failures and supports smoother validation of restaurant point-of-sale features.
Original PR description
The test `test_01_preparation_display_resto` was using the food category of test data by searching after it with
```
self.env['pos.category'].search([('name', '=', 'Food')]).id
```
Bu this category is not always present in the test data.
This commit changes the test by create a new category called Food directly when creating a new preparation display.
RB error: 67596