changeset a49f2ebab0ef in tryton:5.8
details: https://hg.tryton.org/tryton?cmd=changeset&node=a49f2ebab0ef
description:
Use same column default width for all clients
issue10534
review344421002
(grafted from 42a09c368b823ef5b7f493f0c16cbda366bb871d)
diffstat:
tryton/gui/window/view_form/view/list.py | 14 ++++----------
1 files changed, 4 insertions(+), 10 deletions(-)
diffs (27 lines):
diff -r de8118c95c67 -r a49f2ebab0ef tryton/gui/window/view_form/view/list.py
--- a/tryton/gui/window/view_form/view/list.py Thu Jul 01 21:39:21 2021 +0200
+++ b/tryton/gui/window/view_form/view/list.py Fri Jul 02 16:56:54 2021 +0200
@@ -390,19 +390,13 @@
def _set_column_width(self, column, attributes):
default_width = {
- 'integer': 60,
- 'biginteger': 60,
- 'float': 80,
- 'numeric': 80,
- 'timedelta': 100,
- 'date': 100,
- 'datetime': 100,
- 'time': 100,
+ 'integer': 80,
+ 'biginteger': 80,
'selection': 90,
- 'char': 100,
+ 'reference': 200,
'one2many': 50,
'many2many': 50,
- 'boolean': 20,
+ 'boolean': 30,
'binary': 200,
}