summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/field_registry.js
diff options
context:
space:
mode:
authorDavid Monjoie <dmo@odoo.com>2017-03-27 11:23:17 +0200
committerAaron Bohy <aab@odoo.com>2017-04-11 19:44:38 +0200
commit83dab2d0dcab28607b82550190ea295bd31c167e (patch)
treec4a6e8b10885e57c919221b81ffb4995de8f38cf /addons/web/static/src/js/fields/field_registry.js
parentacbbdd1a7337032e673aa51ec66f3c9d209db324 (diff)
[REM] web: remove id widget
The original reason why this widget was created is because sometimes, the id is a virtual one, represented by string in the webclient. As such, the integer widget could not render it properly since it could not parse the integer from the string. This led to the following bug, which in turn led to the creation of the id widget: https://bugs.launchpad.net/openerp-web/+bug/919184 Now, virtual ids are not handled within the record data itself anymore, making it a non-issue to render the id field in the webclient since it is not given a value until a proper id is created. The virtual id management is completely out of the view scope now, rendering this widget useless.
Diffstat (limited to 'addons/web/static/src/js/fields/field_registry.js')
-rw-r--r--addons/web/static/src/js/fields/field_registry.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/addons/web/static/src/js/fields/field_registry.js b/addons/web/static/src/js/fields/field_registry.js
index 0130d20a211..83d28c1649f 100644
--- a/addons/web/static/src/js/fields/field_registry.js
+++ b/addons/web/static/src/js/fields/field_registry.js
@@ -40,7 +40,6 @@ registry
.add('label_selection', basic_fields.LabelSelection)
.add('state_selection', basic_fields.StateSelectionWidget)
.add('boolean_button', basic_fields.FieldBooleanButton)
- .add('id', basic_fields.FieldID)
.add('statinfo', basic_fields.StatInfo)
.add('percentpie', basic_fields.FieldPercentPie)
.add('float_time', basic_fields.FieldFloatTime)