[IMP] kpi_dashboard: Allow to set a specific context for a KPI

This commit is contained in:
Enric Tobella
2022-01-11 15:00:31 +01:00
committed by Olga Marco
parent 76dc8b2754
commit 2d45b0f5f9
2 changed files with 18 additions and 7 deletions

View File

@@ -162,15 +162,15 @@
widget="ace"
options="{'mode': 'python'}"
/>
<field
name="special_context"
attrs="{'invisible': [('compute_on_fly', '=', False)]}"
/>
<field name="compute_on_fly" invisible="1" />
</group>
</sheet>
<footer>
<button
name="store_data"
string="Save"
type="object"
class="oe_highlight"
/>
<button string="Save" special="save" class="oe_highlight" />
<button special="cancel" string="Cancel" class="oe_link" />
</footer>
</form>