Wednesday, August 13, 2025
3 changes · master
Features or functions removed from Odoo
This change removes an extra automated browser test for session timeout behavior because it was causing inconsistent build failures. The core session timeout behavior remains covered by another test, so this improves test reliability without changing the product experience.
Original PR description
This test leads to undeterminist unit test fails on runbot: ``` odoo.addons.auth_timeout.tests.test_auth_timeout:568 FAIL: TestAuthTimeoutHttp.test_auth_timeout_tour Traceback (most recent call…
This test leads to undeterminist unit test fails on runbot:
```
odoo.addons.auth_timeout.tests.test_auth_timeout:568
FAIL: TestAuthTimeoutHttp.test_auth_timeout_tour
Traceback (most recent call last):
File "/data/build/odoo/addons/auth_timeout/tests/test_auth_timeout.py", line 568, in test_auth_timeout_tour
self.start_tour("/odoo", "auth_timeout_tour_lock_timeout", login=self.user.login)
File "/data/build/odoo/odoo/tests/common.py", line 2475, in start_tour
self.browser_js(url_path=url_path, code=code, ready=ready, timeout=timeout, success_signal="tour succeeded", **kwargs)
File "/data/build/odoo/odoo/tests/common.py", line 2441, in browser_js
self.fail('%s\n\n%s' % (message, error))
AssertionError: The test code "odoo.startTour('auth_timeout_tour_lock_timeout', {"stepDelay": 0, "keepWatchBrowser": false, "debug": false, "startUrl": "/odoo", "delayToCheckUndeterminisms": 0})" failed
FAILED: [2/2] Tour auth_timeout_tour_lock_timeout → Step The session expired dialog should appear, click the close button to be redirected to the login (trigger: .modal-dialog:has(.modal-title:contains('Session Expired')) footer .btn:contains('Close')).
Element (.modal-dialog:has(.modal-title:contains('Session Expired')) footer .btn:contains('Close')) has not been found.
TIMEOUT step failed to complete within 10000 ms.
```
The fact the session is disconnected when the session timeout is reached is already tested in the python unit test `test_check_identity_exception`: https://github.com/odoo/odoo/blob/8e0762f6ff1ea7caf3549c2aab4575d84b04bd3c/addons/auth_timeout/tests/test_auth_timeout.py#L307-L312
This tour was just an extra precaution. If it causes a reliability issue, it can be removed.
runbot-buid-error-230824This update removes unused code from Point of Sale and related modules, helping keep the system cleaner and easier to maintain. It should not change day-to-day POS behavior, but it reduces maintenance overhead and the risk of future issues from obsolete code.
Original PR description
- Remove dead code in POS and submodules (`pos_event`, `pos_hr`, `pos_loyalty`, `pos_restaurant`, `pos_sale`, `pos_self_order`). task-id: 5006039 enterprise PR: https://github.com/odoo/enterprise/pull/92160 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Unused code was removed from Point of Sale and several related add-ons. This cleanup reduces maintenance overhead and helps keep the POS codebase lean without changing business-facing functionality.
Original PR description
- Remove dead code in POS and submodueles (`l10n_it_pos`, `pos_iot`, `pos_restaurant_appointment`, `pos_self_order_iot`, `pos_settle_due`, `pos_urban_piper`). task-id: 5006039 community PR: https://github.com/odoo/odoo/pull/222587