[IMP] ir_ui_view: make `ormcache` parameters more general
[IMP] ir_ui_view: make `ormcache` parameters more general

This makes methods use less cache, and invalidations are less frequently
necessary.

hip-odoo/odoo,hip-odoo/odoo,dfang/odoo,hip-odoo/odoo,hip-odoo/odoo,dfang/odoo,ygol/odoo,ygol/odoo,ygol/odoo,hip-odoo/odoo,dfang/odoo,hip-odoo/odoo,ygol/odoo,dfang/odoo,ygol/odoo,ygol/odoo,dfang/odoo,dfang/odoo,ygol/odoo