mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[IMP] web_widget_mpld3_chart: Move widget from CharField to Component(Json field)
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<templates xml:space="preserve">
|
||||
<t t-name="web_widget_mpld3_chart.Mpld3ChartField" 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_mpld3_chart.Mpld3ChartJsonWidget" owl="1">
|
||||
<t t-if="props.value.div" t-out="markup(props.value.div)" />
|
||||
</div>
|
||||
</templates>
|
||||
|
||||
Reference in New Issue
Block a user