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.

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