When you show a one2many or a many2many field on a form, you don't have much control over how it is rendered up to now if you haven't used one of the specialized widgets. Also, in the case of many2one fields, it is desirable sometimes to be able to influence the way the linked record is opened. In this recipe, we'll look into how to define private views for those fields.
<tree> <field name="name" /> <field name="email" /> <field name="phone" /> </tree> <form> <group> <field name="name" /> <field name="function" /> </group> </form>
When Odoo loads a form, it ...