fix odoo#1122