[FIX] models: onchange handles inconsistent data in all cases
[FIX] models: onchange handles inconsistent data in all cases

closes odoo/odoo#34451

Signed-off-by: Raphael Collet (rco) <fcee45b878db1f337818c5c606c1542797080a40@openerp.com>
ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo