You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1.6 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- Copyright 2012 - Now Savoir-faire Linux <https://www.savoirfairelinux.com/>
  3. License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
  4. <odoo>
  5. <data>
  6. <!-- KPI history -->
  7. <record id="view_kpi_history_tree" model="ir.ui.view">
  8. <field name="name">kpi.history.tree</field>
  9. <field name="model">kpi.history</field>
  10. <field name="arch" type="xml">
  11. <tree string="KPI History">
  12. <field name="name"/>
  13. <field name="date"/>
  14. <field name="value"/>
  15. <field name="color" widget="color"/>
  16. <field name="company_id" groups="base.group_multi_company"/>
  17. </tree>
  18. </field>
  19. </record>
  20. <record id="view_kpi_history_form" model="ir.ui.view">
  21. <field name="name">kpi.history.form</field>
  22. <field name="model">kpi.history</field>
  23. <field name="arch" type="xml">
  24. <form string="KPI History">
  25. <sheet>
  26. <group col="4" colspan="4">
  27. <field name="kpi_id"/>
  28. <field name="name"/>
  29. <field name="date"/>
  30. <field name="value"/>
  31. <field name="color" widget="color"/>
  32. <field name="company_id" groups="base.group_multi_company"/>
  33. </group>
  34. </sheet>
  35. </form>
  36. </field>
  37. </record>
  38. </data>
  39. </odoo>