clean pull request for #1122

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