Extending views
Forms, lists, and search views are defined using the arch XML structures. To extend views, we need a way to modify this XML. This means locating XML elements and then introducing modifications at those points.
The XML record for view inheritance is just like the one for regular views, but also using the inherit_id attribute, with a reference to the view to be extended.
As an example of this, we will extend the Partner view to make the todo_ids field visible, showing all the Tasks that person is involved in.
The first thing to do is to find the XML ID for the view to be extended. We can find that by looking up the view in the Settings app and the Technical | User Interface | Views menu. The XML ID for the Partner form is
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access