summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields.js
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2019-08-16 12:25:44 +0000
committerAaron Bohy <aab@odoo.com>2019-08-23 06:28:34 +0000
commit4393b012a5417e0964ef11a3ac81496cacd3b812 (patch)
treec2c4de6cca93e13f271dcd5782bc8cc641efdce0 /addons/web/static/src/js/fields/basic_fields.js
parentb2c09b4d3d971922c37965bae21c875585ea68bf (diff)
[REF] *,web: list: merge width and width_factor attrs
Having two attributes for this was probably overkill. We now have a single attribute 'width' which can specify either a fixed width (e.g. '120px') or a factor (e.g. '2.5').
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
-rw-r--r--addons/web/static/src/js/fields/basic_fields.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/js/fields/basic_fields.js b/addons/web/static/src/js/fields/basic_fields.js
index 1466402cc98..a782e128bc7 100644
--- a/addons/web/static/src/js/fields/basic_fields.js
+++ b/addons/web/static/src/js/fields/basic_fields.js
@@ -1380,7 +1380,7 @@ var HandleWidget = AbstractField.extend({
description: _lt("Handle"),
noLabel: true,
className: 'o_row_handle fa fa-arrows ui-sortable-handle',
- widthFactor: 0,
+ widthInList: '32px',
tagName: 'span',
supportedFieldTypes: ['integer'],