I was testing the modules of Odoo 15 that I developed in Odoo 16, I was using a lot of the method fields_views_get
to have some behaviors to inject domain and context, before to render the component, but currently I can not find this method.
Someone here knows what will be the alternative to achieve some behavior in runtime (modify the XML with the etree
component of lxml
)?
The main goal here is to inject in the XML data that is very difficult to add without the env
object since with the fields_views_get
I was able to inject or make queries before returning the XML.