I’m trying to apply view inheritance to a base module view which is res.users . I found some examples that uses the same view for inheritance. But I still need the xpath to the specific child element.
Here is my code:
<odoo>
<record id="estate.res_users_view_form" model="ir.ui.view">
<field name="model">res.users</field>
<field name="inherit_id" ref="base.view_users_form"/>
<field name="arch" type="xml">
<notebook position="after">
<page string="Real Estate Properties">
<field name="property_ids">
<tree decoration-success="[('state', '=', 'sold')]">
<field name="name"/>
<field name="property_type_id"/>
<field name="postcode"/>
<field name="tag_ids"/>
<field name="bedrooms"/>
<field name="living_area"/>
<field name="expected_price"/>
<field name="selling_price"/>
</tree>
</field>
</page>
</notebook>
</field>
</record>
</odoo>
So I tried to search for the specific view xml file in github.com/odoo/odoo to find the specific path of the notebook but couldn’t find it.
New contributor
Albaraa Maktabi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.