diff options
| author | Aaron Bohy <aab@odoo.com> | 2019-03-18 14:51:04 +0000 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2019-04-02 11:55:57 +0000 |
| commit | 9fbb4fb44ff92cdee53454ab328c10ae66a11aa0 (patch) | |
| tree | 5fd611cbf41a582951250558ff1055ffe9fba9fe /doc/reference | |
| parent | a75fa7e377829ac22f85eab3bfefd79705458236 (diff) | |
[IMP] web: editable list: table-layout: fixed
This rev. changes the layout of *editable* list views to a fixed
layout. This means that we are now responsible of the width of
each column. To do that, we associate with each field type a
factor, and the higher the factor is, the larger the column will
be (w.r.t. the others). This default value can be overriden in the
arch.
The fixed layout allows to remove the absolute positionning of
widgets inside editable lists (done in the next commit).
Part of task 1915702
Co-authored-by: Martin Geubelle <mge@odoo.com>
Diffstat (limited to 'doc/reference')
| -rw-r--r-- | doc/reference/views.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/reference/views.rst b/doc/reference/views.rst index 51f06877da9..56dca21bf1d 100644 --- a/doc/reference/views.rst +++ b/doc/reference/views.rst @@ -328,6 +328,10 @@ Possible children elements of the list view are: dynamic attributes based on record values. Only effects the current field, so e.g. ``invisible`` will hide the field but leave the same field of other records visible, it will not hide the column itself + ``width_factor`` (for ``editable``) + the column relative width (as the layout is fixed) + ``width`` (for ``editable``) + the column width (as the layout is fixed) .. note:: if the list view is ``editable``, any field attribute from the :ref:`form view <reference/views/form>` is also valid and will |
