mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
several fixes
This commit is contained in:
@@ -70,6 +70,11 @@ welcomed feedback.
|
|||||||
Credits
|
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
|
Contributors
|
||||||
------------
|
------------
|
||||||
|
|
||||||
|
|||||||
@@ -17,6 +17,6 @@
|
|||||||
"external_dependencies": {
|
"external_dependencies": {
|
||||||
"python": ['bokeh'],
|
"python": ['bokeh'],
|
||||||
},
|
},
|
||||||
"auto_install": True,
|
"auto_install": False,
|
||||||
"license": "AGPL-3",
|
"license": "AGPL-3",
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,10 +10,12 @@ odoo.define('web_widget_bokeh_chart', function (require) {
|
|||||||
|
|
||||||
var BokehChartWidget = form_common.AbstractField.extend({
|
var BokehChartWidget = form_common.AbstractField.extend({
|
||||||
render_value: function() {
|
render_value: function() {
|
||||||
var self = this;
|
|
||||||
var val = this.get('value');
|
var val = this.get('value');
|
||||||
this.$el.html(val);
|
this.$el.html(val);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
core.form_widget_registry.add('bokeh_chart', BokehChartWidget);
|
core.form_widget_registry.add('bokeh_chart', BokehChartWidget);
|
||||||
|
return {
|
||||||
|
BokehChartWidget: BokehChartWidget
|
||||||
|
};
|
||||||
});
|
});
|
||||||
|
|||||||
535
web_widget_bokeh_chart/static/src/lib/bokeh/bokeh-0.12.7.css
Normal file
535
web_widget_bokeh_chart/static/src/lib/bokeh/bokeh-0.12.7.css
Normal file
File diff suppressed because one or more lines are too long
44686
web_widget_bokeh_chart/static/src/lib/bokeh/bokeh-0.12.7.js
Normal file
44686
web_widget_bokeh_chart/static/src/lib/bokeh/bokeh-0.12.7.js
Normal file
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
1835
web_widget_bokeh_chart/static/src/lib/bokeh/bokeh-widgets-0.12.7.css
Normal file
1835
web_widget_bokeh_chart/static/src/lib/bokeh/bokeh-widgets-0.12.7.css
Normal file
File diff suppressed because it is too large
Load Diff
5383
web_widget_bokeh_chart/static/src/lib/bokeh/bokeh-widgets-0.12.7.js
Normal file
5383
web_widget_bokeh_chart/static/src/lib/bokeh/bokeh-widgets-0.12.7.js
Normal file
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"
|
<template id="assets_backend" name="web_widget_bokeh_chart assets"
|
||||||
inherit_id="web.assets_backend">
|
inherit_id="web.assets_backend">
|
||||||
<xpath expr="." position="inside">
|
<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-0.12.7.css"/>
|
||||||
<link rel="stylesheet" href="/web_widget_bokeh_chart/static/src/lib/bokeh/bokeh-widgets-0.12.7.min.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.min.js"/>
|
<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.min.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"/>
|
<script type="text/javascript" src="/web_widget_bokeh_chart/static/src/js/web_widget_bokeh_chart.js"/>
|
||||||
</xpath>
|
</xpath>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Reference in New Issue
Block a user