Skip to content
Snippets Groups Projects
user avatar
Christophe Monniez authored
When importing reportlab from python 3.10, a deprecation warning is
emitted from the standard library importlib module.  This warnings
occurs because of the usage of the `load_module()` method used in
reportlab. This deprecated usage is not yet fixed in the current
reportlab version 3.6.11.

This makes it difficult to filter out with the `filterwarnings` method
because it would then catch any other usage of `load_module` from
anywhere.

With this commit, this deprecation is caught and ignored at the import
time.

Note: this issue did not appear in 15.0 because `reportlab` is imported
in the `odoo.tools` module which is loaded before activation of the
deprecation warnings.

Part-of: odoo/odoo#98081
8cfb5c42
History

Build Status Tech Doc Help Nightly Builds

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