Browse Source

[IMP] Add company_id in views

pull/510/head^2
Maxime Chambreuil 12 years ago
parent
commit
b3e9135acb
  1. 9
      mgmtsystem_kpi/mgmtsystem_kpi_view.xml

9
mgmtsystem_kpi/mgmtsystem_kpi_view.xml

@ -13,6 +13,7 @@
<field name="value" widget="progressbar"/> <field name="value" widget="progressbar"/>
<field name="category_id"/> <field name="category_id"/>
<field name="kpi_type"/> <field name="kpi_type"/>
<field name="company_id" group="base.group_multi_company"/>
</tree> </tree>
</field> </field>
</record> </record>
@ -27,6 +28,7 @@
<separator orientation="vertical"/> <separator orientation="vertical"/>
<field name="name"/> <field name="name"/>
<field name="category_id"/> <field name="category_id"/>
<field name="company_id" group="base.group_multi_company"/>
</group> </group>
<newline /> <newline />
<group expand="0" string="Group By..."> <group expand="0" string="Group By...">
@ -50,6 +52,7 @@
<field name="value" colspan="2"/> <field name="value" colspan="2"/>
<button name="compute_kpi_value" string="Compute KPI Now" colspan="2" type="object"/> <button name="compute_kpi_value" string="Compute KPI Now" colspan="2" type="object"/>
<field name="active" colspan="2"/> <field name="active" colspan="2"/>
<field name="company_id" group="base.group_multi_company"/>
</group> </group>
<notebook colspan="6"> <notebook colspan="6">
<page string="History"> <page string="History">
@ -103,6 +106,7 @@
<field name="date"/> <field name="date"/>
<field name="value"/> <field name="value"/>
<field name="color" widget="color"/> <field name="color" widget="color"/>
<field name="company_id" group="base.group_multi_company"/>
</tree> </tree>
</field> </field>
</record> </record>
@ -163,6 +167,7 @@
<tree string="Thresholds"> <tree string="Thresholds">
<field name="name"/> <field name="name"/>
<field name="invalid_message"/> <field name="invalid_message"/>
<field name="company_id" group="base.group_multi_company"/>
</tree> </tree>
</field> </field>
</record> </record>
@ -183,6 +188,8 @@
<field name="kpi_ids" nolabel="1" colspan="2"/> <field name="kpi_ids" nolabel="1" colspan="2"/>
<newline/> <newline/>
<field name="invalid_message" nolabel="1" attrs="{'invisible' : [('invalid_message', '=', '')]}" colspan="2"/> <field name="invalid_message" nolabel="1" attrs="{'invisible' : [('invalid_message', '=', '')]}" colspan="2"/>
<newline/>
<field name="company_id" group="base.group_multi_company"/>
</form> </form>
</field> </field>
</record> </record>
@ -214,6 +221,7 @@
<field name="max_value"/> <field name="max_value"/>
<field name="color" widget="color"/> <field name="color" widget="color"/>
<field name="invalid_message"/> <field name="invalid_message"/>
<field name="company_id" group="base.group_multi_company"/>
</tree> </tree>
</field> </field>
</record> </record>
@ -225,6 +233,7 @@
<form string="Range"> <form string="Range">
<field name="name"/> <field name="name"/>
<field name="color"/> <field name="color"/>
<field name="company_id" group="base.group_multi_company"/>
<newline/> <newline/>
<separator string="Minimum" colspan="4"/> <separator string="Minimum" colspan="4"/>
<newline/> <newline/>

Loading…
Cancel
Save