Adapting PR 441 to verion 7.0 to fix setup.py

https://github.com/odoo/odoo/pull/441/files