diff options
| author | Robot Odoo <xmo+roboto@odoo.com> | 2019-08-23 09:15:15 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-23 09:15:15 +0200 |
| commit | 9b867491d38ffa65baf4a9aa6603123355234320 (patch) | |
| tree | 0f0e2b41bb553f1b45db34d82d7b9e84ddb2b2e8 /doc/reference/javascript_reference.rst | |
| parent | 192a230d8ec408559293221ed61ca68694a12aca (diff) | |
| parent | 85bfef9cedcef505341a435d8be62a211f64b2c8 (diff) | |
[MERGE] web,*: editable list view: column widths
This PR improves the display of editable of list views.
Instead of always hardcoding column widths depending of the field types, we let
the browser compute them as much as possible, i.e. as soon as there are records,
and we then freeze the widths s.t. it doesn't flicker when switching a row in edition.
However, we keep the fixed widths heuristic when there is no record to display, as
in this case the browser doesn't have enough information to compute the widths.
In the latter case, we also tweaked the heuristic s.t. all field types having a relative
width now have the same width factor (i.e. the available space is uniformly shared
between them).
Task 2011587
closes odoo/odoo#35801
Signed-off-by: Géry Debongnie (ged) <ged@openerp.com>
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions
