changeset a29416df19d3 in tryton:6.0
details: https://hg.tryton.org/tryton?cmd=changeset&node=a29416df19d3
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 8385fe3cbbee -r a29416df19d3 tryton/gui/window/view_form/view/list.py
--- a/tryton/gui/window/view_form/view/list.py Thu Jul 01 21:38:34 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,
}