43fc34bb1b8d5f0bae8d8a9ba11f2655b709f505
Before this change, the apikeys' ``_check_credentials`` override would hard-check the ``'interactive'`` key. This turns out to be less than ideal for compatibility with older code which might not properly forward the environment (or might call ``_check_credentials`` from a non-override and pass in an empty env) as it straight crashes. Update the override to assume an interactive login if the information is missing (as that seems like the more secure option: it ignores apikeys and takes 2FA in account if enabled). Also trigger a warning if the key was missing from the environment, such that the maintainer hopefully takes a look at the issue. Also allow a ``user_agent_env`` of ``None``, this will also trigger the warning so seems OK. closes odoo/odoo#62683 X-original-commit: ee2625a9311f308b9df3fc160dc5c9fe4cc5a497 Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>
…
…
…
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%