summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/widgets/debug_manager.js
diff options
context:
space:
mode:
authorGéry Debongnie <ged@odoo.com>2017-02-24 15:40:22 +0100
committerAaron Bohy <aab@odoo.com>2017-04-11 19:44:38 +0200
commitb717c6786429ccd68678462f3d0d994ffe3301b3 (patch)
treec577dc97422b2130f436890d62fc5c954b5eb5e0 /addons/web/static/src/js/widgets/debug_manager.js
parent7dc9eb51d613f43db042826ae52aa6d21e4dec74 (diff)
[REF] web,*: improve the way field_utils are done
We replace a bunch of formatting and parsing functions by an object (parse or format) which can be used to dispatch on the correct type. It allows us to remove the format_field and parse_field functions. Also, we camelcase our new code and add some comments.
Diffstat (limited to 'addons/web/static/src/js/widgets/debug_manager.js')
-rw-r--r--addons/web/static/src/js/widgets/debug_manager.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/js/widgets/debug_manager.js b/addons/web/static/src/js/widgets/debug_manager.js
index 2689d789431..b09fa2d498b 100644
--- a/addons/web/static/src/js/widgets/debug_manager.js
+++ b/addons/web/static/src/js/widgets/debug_manager.js
@@ -327,7 +327,7 @@ DebugManager.include({
size: 'medium',
$content: QWeb.render('WebClient.DebugViewLog', {
perm : result[0],
- format : field_utils.format_field
+ format : field_utils.format
})
}).open();
});