1
<?xml version="1.0" encoding="utf-8"?>
5
<!-- Audittrail View Log wizard-->
7
<record id="view_audittrail_view_log" model="ir.ui.view">
8
<field name="name">audittrail.view.log.form</field>
9
<field name="model">audittrail.view.log</field>
10
<field name="type">form</field>
11
<field name="arch" type="xml">
12
<form string="Audit Logs">
14
<field name="from" colspan="4"/>
16
<field name="to" colspan="4"/>
18
<separator string="" colspan="4" />
19
<group colspan="4" col="6">
20
<button icon="gtk-cancel" special="cancel"
22
<button icon="gtk-open" string="Open Logs"
23
name="log_open_window" type="object" />
29
<!-- action for audittrail view log wizard -->
31
<record id="action_audittrail_view_log" model="ir.actions.act_window">
32
<field name="name">View log</field>
33
<field name="res_model">audittrail.view.log</field>
34
<field name="view_type">form</field>
35
<field name="view_mode">tree,form</field>
36
<field name="view_id" ref="view_audittrail_view_log"/>
37
<field name="target">new</field>