0cecf918a68c18bc3b11e7bd22290088bbecb977
Since [1] and [2], the mobile app gets this error when trying to login on v15, while it was working fine in v14 with TOTP enabled. The 'authenticate' JSON-RPC route tries to authenticate the user and then call `session_info()`. As no UID is defined, some methods in `session_info()` raise an exception and an unexpected error is sent: * `_is_public()` -> "Expected singleton: res.users()" * `get_web_translations_hash()` -> "lang" In this fix, this exception is avoided and the proper result is sent, allowing the authentication process to continue. Steps to reproduce: * Try to connect to an account with TOTP on the mobile app (v15+) => BUG Refs: [1] odoo/odoo@80d74e7ee0 [2] odoo/odoo@401fc7efe9 X-original-commit: 65dca67ecdcc2228d90781a9f5ccd99f290ada6c Part-of: odoo/odoo#79182
…
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%