[FIX] web_widget_bokeh_chart: Make bokeh charts work when inputs change

Co-authored-by: Enric Tobella enric.tobella@dixmit.com
Co-authored-by: David Jimenez david.jimenez@forgeflow.com
This commit is contained in:
BernatPForgeFlow
2023-07-12 12:17:30 +02:00
committed by DavidJForgeFlow
parent 01d1c8bb4d
commit dfe579a438
8 changed files with 213 additions and 25 deletions

View File

@@ -1,7 +1,9 @@
<?xml version="1.0" encoding="UTF-8" ?>
<templates xml:space="preserve">
<t t-name="web_widget_bokeh_chart.BokehChartField" owl="1">
<t t-out="json_value.div" />
<script type="text/javascript" t-out="json_value.script" />
</t>
<div t-ref="widget" t-name="web_widget_bokeh_chart.BokehChartField" owl="1">
<t t-out="json_value.div" />
</div>
<div t-ref="widget" t-name="web_widget_bokeh_chart.BokehChartlJsonField" owl="1">
<t t-out="markup(props.value.div)" />
</div>
</templates>