# XPath Patterns for Odoo View Inheritance ## Common XPath Positions - `before` - Insert before the target element - `after` - Insert after the target element - `inside` - Insert inside the target element (as last child) - `replace` - Replace the target element entirely - `attributes` - Add/modify attributes of the target element ## Examples ### Add Field After Another Field ```xml ``` ### Add Field Inside Group ```xml ``` ### Replace Field ```xml ``` ### Add Attributes ```xml 1 1 ``` ### Add to Header ```xml