summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_renderer.js
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2017-03-09 15:12:58 +0100
committerAaron Bohy <aab@odoo.com>2017-04-11 19:44:38 +0200
commit49f7a9f657b011080666475f836982665615dc7c (patch)
tree297819c867d76d703773882660fd7319d3538cb4 /addons/web/static/src/js/views/basic/basic_renderer.js
parent228e18e81ae2439c307825cd8127e800dfec571c (diff)
[REF] web, mail: use field registry in views, not renderers
Before this commit, the AbstractField specialization to use to instantiate a field was determined in the renderers. Now this is regrouped in BasicView. Note: renderers are still left free to not use the determined Class (like Kanban and not editable List which instantiate widgets only if the "widget" attribute is present).
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_renderer.js')
-rw-r--r--addons/web/static/src/js/views/basic/basic_renderer.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/addons/web/static/src/js/views/basic/basic_renderer.js b/addons/web/static/src/js/views/basic/basic_renderer.js
index 7b57f16dd84..d8ddf02d169 100644
--- a/addons/web/static/src/js/views/basic/basic_renderer.js
+++ b/addons/web/static/src/js/views/basic/basic_renderer.js
@@ -104,8 +104,7 @@ return AbstractRenderer.extend({
* Actual rendering. Supposed to be overridden by concrete renderers.
* The basic responsabilities of _renderView are:
* - use the xml arch of the view to render a jQuery representation
- * - instantiate a widget from the widgets_registry for each field in the
- * arch
+ * - instantiate a widget from the registry for each field in the arch
*
* Note that the 'state' field should contains all necessary information
* for the rendering. The field widgets should be as synchronous as