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.

48 lines
1.6 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <record id="view_sla_lines_tree" model="ir.ui.view">
  5. <field name="name">view_sla_lines_tree</field>
  6. <field name="model">project.sla.line</field>
  7. <field name="arch" type="xml">
  8. <tree string="Definitions">
  9. <field name="sequence"/>
  10. <field name="name"/>
  11. <field name="condition"/>
  12. <field name="limit_qty"/>
  13. <field name="warn_qty"/>
  14. </tree>
  15. </field>
  16. </record>
  17. <record id="view_sla_form" model="ir.ui.view">
  18. <field name="name">view_sla_form</field>
  19. <field name="model">project.sla</field>
  20. <field name="arch" type="xml">
  21. <form string="SLA Definition">
  22. <field name="name"/>
  23. <field name="active"/>
  24. <field name="control_model"/>
  25. <field name="control_field_id"/>
  26. <notebook colspan="4">
  27. <page string="Rules" name="rules_page">
  28. <field name="sla_line_ids" nolabel="1"/>
  29. </page>
  30. <page string="Contracts" name="contracts_page">
  31. <field name="analytic_ids" nolabel="1" />
  32. </page>
  33. </notebook>
  34. <button name="reapply_slas" colspan="2"
  35. string="Reapply SLA on Contracts"
  36. type="object" />
  37. </form>
  38. </field>
  39. </record>
  40. </data>
  41. </openerp>