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.

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