mirror of
https://gitlab.com/flectra-community/reporting-engine.git
synced 2024-12-23 12:51:47 +00:00
38 lines
1.5 KiB
XML
38 lines
1.5 KiB
XML
|
<?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>
|