[FIX] view inheritance tests
[FIX] view inheritance tests

Validation error type changed from AttributeError to ValueError.
hip-odoo/odoo,dfang/odoo,ygol/odoo,hip-odoo/odoo,dfang/odoo,ygol/odoo,dfang/odoo,hip-odoo/odoo,hip-odoo/odoo,dfang/odoo,ygol/odoo,hip-odoo/odoo,dfang/odoo,dfang/odoo,ygol/odoo,ygol/odoo,hip-odoo/odoo,ygol/odoo,ygol/odoo