[12.0][IMP] kpi_dashboard: Compute the KPI on a separate cursor and rollback it

This commit is contained in:
Enric Tobella
2020-04-28 19:10:30 +02:00
parent 85595af9a8
commit 50cdea2644
4 changed files with 60 additions and 14 deletions

View File

@@ -87,7 +87,6 @@ result = {"graphs": [
<function model="kpi.kpi" name="compute"
eval="[[ref('widget_graph')]]"/>
<record id="dashboard_widget_text" model="kpi.dashboard.item">
<field name="name">Dashboard title</field>
<field name="dashboard_id" ref="demo_dashboard"/>