[12.0][IMP] kpi_dashboard: Allow to use formula

This commit is contained in:
Enric Tobella
2020-04-28 15:04:03 +02:00
parent 5b3aeed911
commit 3ca213d3e0
5 changed files with 55 additions and 2 deletions

View File

@@ -44,7 +44,12 @@
<field name="action"/>
</tree>
</field>
</page>
</page>
<page name="code" string="Code" attrs="{'invisible': [('computation_method', '!=', 'code')]}">
<field name="code" widget="ace"
options="{'mode': 'python'}"
placeholder="Enter Python code here."/>
</page>
</notebook>
</sheet>
</form>