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.

60 lines
2.2 KiB

11 years ago
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <!-- Project Issue Form -->
  5. <record id="project_issue_form_view_sla" model="ir.ui.view">
  6. <field name="name">project_issue_form_view_sla</field>
  7. <field name="model">project.issue</field>
  8. <field name="inherit_id" ref="project_issue.project_issue_form_view"/>
  9. <field name="arch" type="xml">
  10. <page string="Extra Info" position="after">
  11. <page name="sla_page" string="Service Levels"
  12. attrs="{'invisible': [('sla_state', '=', False)]}">
  13. <group>
  14. <group>
  15. <field name="sla_state" />
  16. </group>
  17. <group>
  18. <field name="write_date" />
  19. </group>
  20. </group>
  21. <field name="sla_control_ids"/>
  22. </page>
  23. </page>
  24. </field>
  25. </record>
  26. <!-- Project Issue List -->
  27. <record model="ir.ui.view" id="project_issue_tree_view_sla">
  28. <field name="name">project_issue_tree_view_sla</field>
  29. <field name="model">project.issue</field>
  30. <field name="inherit_id" ref="project_issue.project_issue_tree_view"/>
  31. <field name="arch" type="xml">
  32. <field name="project_id" position="after">
  33. <field name="sla_state"/>
  34. </field>
  35. </field>
  36. </record>
  37. <!-- Project Issue Filter -->
  38. <record id="view_project_issue_filter_sdesk" model="ir.ui.view">
  39. <field name="name">view_project_issue_filter_sdesk</field>
  40. <field name="model">project.issue</field>
  41. <field name="inherit_id" ref="project_issue.view_project_issue_filter"/>
  42. <field name="arch" type="xml">
  43. <filter string="Priority" position="after">
  44. <filter string="SLA Status" context="{'group_by':'sla_state'}" />
  45. </filter>
  46. </field>
  47. </record>
  48. </data>
  49. </openerp>