reporting-engine/kpi/views/kpi_history_views.xml

38 lines
1.5 KiB
XML
Raw Normal View History

2024-12-03 13:17:35 +00:00
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2012 - Now Savoir-faire Linux <https://www.savoirfairelinux.com/>
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
<flectra>
<!-- KPI history -->
<record id="view_kpi_history_tree" model="ir.ui.view">
<field name="name">kpi.history.tree</field>
<field name="model">kpi.history</field>
<field name="arch" type="xml">
<tree>
<field name="name" />
<field name="date" readonly="1" />
<field name="value" readonly="1" />
<field name="color" widget="color" readonly="1" />
<field name="company_id" groups="base.group_multi_company" />
</tree>
</field>
</record>
<record id="view_kpi_history_form" model="ir.ui.view">
<field name="name">kpi.history.form</field>
<field name="model">kpi.history</field>
<field name="arch" type="xml">
<form string="KPI History">
<sheet>
<group col="4" colspan="4">
<field name="kpi_id" />
<field name="name" />
<field name="date" readonly="1" />
<field name="value" readonly="1" />
<field name="color" widget="color" readonly="1" />
<field name="company_id" groups="base.group_multi_company" />
</group>
</sheet>
</form>
</field>
</record>
</flectra>