This is the documentation for older versions of Odoo (formerly OpenERP).

See the new Odoo user documentation.

See the new Odoo technical documentation.

Form views

The field disposition in a form view always follows the same principle. Fields are distributed on the screen following the rules below:

  • By default, each field is preceded by a label, with its name.

  • Fields are placed on the screen from left to right, and from top to bottom, according to the order in which they are declared in the view.

  • Every screen is divided into 4 columns, each column being able to contain either a label, or an "edition" field. As every edition field is preceded (by default) by a label with its name, there will be two fields (and their respective labels) on each line of the screen. The green and red zones on the screen-shot below, illustrate those 4 columns. They designate respectively the labels and their corresponding fields.

/doc_static/5.0/_images/sale_order.png

Views also support more advanced placement options:

  • A view field can use several columns. For example, on the screen-shot below, the zone in the blue frame is, in fact, the only field of a "one to many". We will come back later on this note, but let's note that it uses the whole width of the screen and not only one column.

    /doc_static/5.0/_images/sale_order_sale_order_lines.png
  • We can also make the opposite operation: take a columns group and divide it in as many columns as desired. The surrounded green zones of the screen above are good examples. Precisely, the green framework up and on the right side takes the place of two columns, but contains 4 columns.

As we can see below in the purple zone of the screen, there is also a way to distribute the fields of an object on different tabs.

/doc_static/5.0/_images/sale_order_notebook.png