diff --git a/web_widget_timepicker/__openerp__.py b/web_widget_timepicker/__openerp__.py index fb091f39..251486cc 100644 --- a/web_widget_timepicker/__openerp__.py +++ b/web_widget_timepicker/__openerp__.py @@ -16,13 +16,13 @@ ], 'css': [ 'static/src/lib/jquery.timerpicker/jquery.timepicker.css', - 'static/src/css/web_widget_timepicker.css' + 'static/src/css/web_widget_timepicker.css' ], 'js': [ 'static/src/lib/jquery.timerpicker/jquery.timepicker.js', 'static/src/js/web_widget_timepicker.js', ], - 'qweb' : [ + 'qweb': [ 'static/src/xml/web_widget_timepicker.xml' ], @@ -31,6 +31,6 @@ 'views/web_widget_timepicker_assets.xml' ], - #Installation options + # Installation options "installable": True, } diff --git a/web_widget_timepicker/static/src/js/web_widget_timepicker.js b/web_widget_timepicker/static/src/js/web_widget_timepicker.js index f68c0369..3701882b 100644 --- a/web_widget_timepicker/static/src/js/web_widget_timepicker.js +++ b/web_widget_timepicker/static/src/js/web_widget_timepicker.js @@ -35,7 +35,7 @@ odoo.define('web_widget_timepicker.form_widgets', function (require) { if(typeof this.node.attrs.options !== 'undefined' && this.node.attrs.options.length > 0 ) { - var custom_options = eval('('+ this.node.attrs.options +')') + var custom_options = eval('('+ this.node.attrs.options +')'); // for(var key in custom_options) { // console.log('attr key : ' + key); diff --git a/web_widget_timepicker/static/src/xml/web_widget_timepicker.xml b/web_widget_timepicker/static/src/xml/web_widget_timepicker.xml index 2f512c18..dcaeda0d 100644 --- a/web_widget_timepicker/static/src/xml/web_widget_timepicker.xml +++ b/web_widget_timepicker/static/src/xml/web_widget_timepicker.xml @@ -1,20 +1,21 @@ + - - - - - - - - - - - - \ No newline at end of file + + + + + + + + + + + + diff --git a/web_widget_timepicker/views/web_widget_timepicker_assets.xml b/web_widget_timepicker/views/web_widget_timepicker_assets.xml index 5dd66272..290bf8b6 100644 --- a/web_widget_timepicker/views/web_widget_timepicker_assets.xml +++ b/web_widget_timepicker/views/web_widget_timepicker_assets.xml @@ -11,4 +11,4 @@ - \ No newline at end of file +