forked from Techsystech/web
several fixes
parent
50345122fc
commit
e88c5dcc2f
|
@ -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
|
||||
------------
|
||||
|
||||
|
|
|
@ -17,6 +17,6 @@
|
|||
"external_dependencies": {
|
||||
"python": ['bokeh'],
|
||||
},
|
||||
"auto_install": True,
|
||||
"auto_install": False,
|
||||
"license": "AGPL-3",
|
||||
}
|
||||
|
|
|
@ -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
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue