bugfix for Odoo