How it works...

We'll look at the arch field of the ir.ui.view model. Here, everything that the user sees happens. First, note that views are defined in XML themselves, so you need to pass the type="xml" attributeĀ for the arch field, otherwise the parser will be confused. It is also mandatory that your view definition contains well-formed XML, otherwise you'll get in trouble when loading this snippet.

Now, we'll walk through the tags used previously and summarize the others that are available.