several fixes

This commit is contained in:
lreficent
2017-09-07 18:00:58 +02:00
committed by Artem Kostyuk
parent d991ed117b
commit 3ba0eaceca
12 changed files with 52452 additions and 236 deletions

View File

@@ -70,6 +70,11 @@ welcomed feedback.
Credits
=======
* This module uses the library `Bokeh <https://github.com/bokeh/bokeh>`_
which is under the open-source BSD 3-clause "New" or "Revised" License.
Copyright (c) 2012, Anaconda, Inc.
* Odoo Community Association (OCA)
Contributors
------------

View File

@@ -17,6 +17,6 @@
"external_dependencies": {
"python": ['bokeh'],
},
"auto_install": True,
"auto_install": False,
"license": "AGPL-3",
}

View File

@@ -10,10 +10,12 @@ odoo.define('web_widget_bokeh_chart', function (require) {
var BokehChartWidget = form_common.AbstractField.extend({
render_value: function() {
var self = this;
var val = this.get('value');
this.$el.html(val);
}
});
core.form_widget_registry.add('bokeh_chart', BokehChartWidget);
return {
BokehChartWidget: BokehChartWidget
};
});

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -4,10 +4,10 @@
<template id="assets_backend" name="web_widget_bokeh_chart assets"
inherit_id="web.assets_backend">
<xpath expr="." position="inside">
<link rel="stylesheet" href="/web_widget_bokeh_chart/static/src/lib/bokeh/bokeh-0.12.7.min.css"/>
<link rel="stylesheet" href="/web_widget_bokeh_chart/static/src/lib/bokeh/bokeh-widgets-0.12.7.min.css"/>
<script type="text/javascript" src="/web_widget_bokeh_chart/static/src/lib/bokeh/bokeh-0.12.7.min.js"/>
<script type="text/javascript" src="/web_widget_bokeh_chart/static/src/lib/bokeh/bokeh-widgets-0.12.7.min.js"/>
<link rel="stylesheet" href="/web_widget_bokeh_chart/static/src/lib/bokeh/bokeh-0.12.7.css"/>
<link rel="stylesheet" href="/web_widget_bokeh_chart/static/src/lib/bokeh/bokeh-widgets-0.12.7.css"/>
<script type="text/javascript" src="/web_widget_bokeh_chart/static/src/lib/bokeh/bokeh-0.12.7.js"/>
<script type="text/javascript" src="/web_widget_bokeh_chart/static/src/lib/bokeh/bokeh-widgets-0.12.7.js"/>
<script type="text/javascript" src="/web_widget_bokeh_chart/static/src/js/web_widget_bokeh_chart.js"/>
</xpath>
</template>