9
.. i18n: The field disposition in a form view always follows the same principle. Fields are distributed on the screen following the rules below:
12
The field disposition in a form view always follows the same principle. Fields are distributed on the screen following the rules below:
14
.. i18n: * By default, each field is preceded by a label, with its name.
15
.. i18n: * 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.
16
.. i18n: * 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.
19
* By default, each field is preceded by a label, with its name.
20
* 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.
21
* 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.
23
.. i18n: .. figure:: images/sale_order.png
25
.. i18n: :align: center
28
.. figure:: images/sale_order.png
32
.. i18n: Views also support more advanced placement options:
35
Views also support more advanced placement options:
37
.. i18n: * 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.
40
* 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.
42
.. i18n: .. figure:: images/sale_order_sale_order_lines.png
44
.. i18n: :align: center
46
.. i18n: * 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.
49
.. figure:: images/sale_order_sale_order_lines.png
53
* 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.
55
.. i18n: 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.
58
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.
60
.. i18n: .. figure:: images/sale_order_notebook.png
62
.. i18n: :align: center
65
.. figure:: images/sale_order_notebook.png