FIX #1122

https://github.com/odoo/odoo/issues/1122