[IMP] pre-commit run after update

Includes some manual fixes to silent ESLint warnings.
This commit is contained in:
Jairo Llopis
2020-01-24 13:45:39 +00:00
committed by Christopher Ormaza
parent 5cae729eb6
commit 56e4addadc
3 changed files with 44 additions and 20 deletions

View File

@@ -1,17 +1,17 @@
odoo.define('web_widget_bokeh_chart', function (require) {
"use strict";
odoo.define("web_widget_bokeh_chart", function(require) {
"use strict";
var fieldRegistry = require('web.field_registry');
var AbstractField = require('web.AbstractField');
var fieldRegistry = require("web.field_registry");
var AbstractField = require("web.AbstractField");
var BokehChartWidget = AbstractField.extend({
_renderReadonly: function() {
var val = this.value;
this.$el.html(val);
}
},
});
fieldRegistry.add('bokeh_chart', BokehChartWidget);
fieldRegistry.add("bokeh_chart", BokehChartWidget);
return {
BokehChartWidget: BokehChartWidget
BokehChartWidget: BokehChartWidget,
};
});

View File

@@ -6,15 +6,12 @@
/* Overriding this styling option Odoo menu is now displayed on top of bokeh graphs */
z-index: 0;
height: inherit !important;
}
.bk-root > .bk {
height: inherit !important;
}
.bk-root > .bk > .bk {
height: inherit !important;
}
.bk-root > .bk > .bk > .bk-canvas {
height: inherit !important;