From b717c6786429ccd68678462f3d0d994ffe3301b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9ry=20Debongnie?= Date: Fri, 24 Feb 2017 15:40:22 +0100 Subject: [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. --- addons/web/static/src/js/widgets/debug_manager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addons/web/static/src/js/widgets/debug_manager.js') 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(); }); -- cgit v1.2.3