Wednesday, May 24, 2023
1 change · master
Features or functions removed from Odoo
Odoo removes Jinja2 as a standard server dependency because it is only needed for specific IoT hardware modules and developer scaffolding. This reduces unnecessary production dependencies while keeping the functionality available where it is still needed.
Original PR description
**Description of the issue/feature this PR addresses:** Jinja2 is not really used anymore, other than two cases: 1) Used by some `hw_*` modules. _Required only on the iotbox, not on the server._ _On the iotbox, it's installed by the `init_posbox_image.sh` script_ 2) The `odoo scaffold` command. _Required only for development purposes, not on production environments._ Thus, it's kept as an optional dependency only for running the `odoo scaffold` command Bonus: Also removed the unused `odoo.tools.rendering_tools.relativedelta_proxy` method, as it isn't used nor referenced anywhere. It's a leftover from jinja mail templating AFAICS --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr