How to Replace Field in Tree View Odoo 15 | Odoo 15 Technical Video – CBMS Odoo ERP

How to Replace Field in Tree View Odoo 15 | Odoo 15 Technical Video – CBMS Odoo ERP

Inheritance is used to add or replace a field with a particular view in Odoo. Inheritance specs are comprised of an element locator, to match the inherited element in the parent view, and the children element that will be used to modify the inherited element.

There are three types of element locators for matching a target element:
#odoo15
1) An xpath element with an expr attribute. expr is an XPath expression applied to the current arch, the first node it finds is the match.

2) A field element with a name attribute, matches the first field with the same name. All other attributes are ignored during matching.

3) Any other element: the first element with the same name and identical attributes (ignoring position and version attributes) is matched.

For more info
Visit our Company Website:

Connect With Us:
————————
➡️Website:
➡️Email: info@cybrosys.com
➡️Twitter:
➡️LinkedIn:
➡️Facebook:
➡️Instagram:
➡️Pinterest:

#Replace #Field #Tree #View #Odoo #Odoo #Technical #Video

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *