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