Browse Source

[FIX]: More TravisCI LINT errors

[FIX]: Missing semicolon in web_widget_timepicker.js
pull/357/head
docmfried 8 years ago
parent
commit
c5940823fa
  1. 2
      web_widget_timepicker/static/src/js/web_widget_timepicker.js
  2. 1
      web_widget_timepicker/static/src/xml/web_widget_timepicker.xml

2
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);

1
web_widget_timepicker/static/src/xml/web_widget_timepicker.xml

@ -1,4 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<templates id="template" xml:space="preserve">
<t t-name="TimePickerField">
<span t-att-class="'oe_form_field '+widget.widget_class" t-att-style="widget.node.attrs.style">

Loading…
Cancel
Save