b1e58ab6c621a4df4b9413eaf4dcb58e9e8d46ed
Replace an assertRaises(StopIteration) by a next() with a default value. Following PEP 479, *any* StopIteration reaching the toplevel of a generator triggers a DeprecationWarning. And while the assertRaises looks innocuous, both _assertRaises and the underlying clear_upon_failure are implemented with functools.contextmanager, which wraps a generator. As a result, exceptions raised in the assertRaises "body" get reinjected inside the wrapped context manager[0] and if the exception is a StopIteration it triggers the warning. By not using assertRaises we side-step the issue. [0] https://github.com/python/cpython/blob/b6999e5690c7006b0ba4049cfd638513c982a90c/Lib/contextlib.py#L131
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%