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.

89 lines
3.9 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <record id="view_auditlog_http_request_form" model="ir.ui.view">
  5. <field name="name">auditlog.http.request.form</field>
  6. <field name="model">auditlog.http.request</field>
  7. <field name="type">form</field>
  8. <field name="arch" type="xml">
  9. <form string="HTTP Request">
  10. <sheet>
  11. <group string="HTTP Request">
  12. <field name="root_url"/>
  13. <field name="name"/>
  14. <field name="create_date"/>
  15. </group>
  16. <group string="User session">
  17. <field name="user_id"/>
  18. <field name="http_session_id"/>
  19. <field name="user_context"/>
  20. </group>
  21. <group string="Logs">
  22. <field name="log_ids" nolabel="1"/>
  23. </group>
  24. </sheet>
  25. </form>
  26. </field>
  27. </record>
  28. <record id="view_auditlog_http_request_tree" model="ir.ui.view">
  29. <field name="name">auditlog.http.request.tree</field>
  30. <field name="model">auditlog.http.request</field>
  31. <field name="type">tree</field>
  32. <field name="arch" type="xml">
  33. <tree string="HTTP Requests">
  34. <field name="name"/>
  35. <field name="create_date"/>
  36. <field name="user_id"/>
  37. <field name="http_session_id"/>
  38. </tree>
  39. </field>
  40. </record>
  41. <record id="view_auditlog_http_request_search" model="ir.ui.view">
  42. <field name="name">auditlog.http.request.search</field>
  43. <field name="model">auditlog.http.request</field>
  44. <field name="type">search</field>
  45. <field name="arch" type="xml">
  46. <search string="HTTP Requests">
  47. <field name="create_date"/>
  48. <field name="root_url"/>
  49. <field name="name"/>
  50. <field name="user_id"/>
  51. <field name="http_session_id"/>
  52. <group expand="0" string="Group By...">
  53. <filter name="group_by_root_url"
  54. string="Root URL"
  55. domain="[]" context="{'group_by':'root_url'}"/>
  56. <filter name="group_by_name"
  57. string="Path"
  58. domain="[]" context="{'group_by':'name'}"/>
  59. <filter name="group_by_create_date"
  60. string="Created on"
  61. domain="[]" context="{'group_by':'create_date'}"/>
  62. <filter name="group_by_user_id"
  63. string="User"
  64. domain="[]" context="{'group_by':'user_id'}"/>
  65. <filter name="group_by_http_session_id"
  66. string="User session"
  67. domain="[]" context="{'group_by':'http_session_id'}"/>
  68. </group>
  69. </search>
  70. </field>
  71. </record>
  72. <record model="ir.actions.act_window" id="action_auditlog_http_request_tree">
  73. <field name="name">HTTP Requests</field>
  74. <field name="type">ir.actions.act_window</field>
  75. <field name="res_model">auditlog.http.request</field>
  76. <field name="view_type">form</field>
  77. <field name="view_id" ref="view_auditlog_http_request_tree"/>
  78. </record>
  79. <menuitem id="menu_action_auditlog_http_request_tree"
  80. parent="menu_audit"
  81. action="action_auditlog_http_request_tree"/>
  82. </data>
  83. </openerp>