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.

38 lines
1.5 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. <group col="4" colspan="4">
  26. <field name="kpi_id"/>
  27. <field name="name"/>
  28. <field name="date"/>
  29. <field name="value"/>
  30. <field name="color" widget="color"/>
  31. <field name="company_id" groups="base.group_multi_company"/>
  32. </group>
  33. </form>
  34. </field>
  35. </record>
  36. </data>
  37. </odoo>