1
<?xml version="1.0" encoding="utf-8"?>
4
<record id="res_log_search" model="ir.ui.view">
5
<field name="name">res.log.search</field>
6
<field name="model">res.log</field>
7
<field name="type">search</field>
8
<field name="arch" type="xml">
10
<filter icon="terp-sale" string="My Logs" domain="[('user_id','=',uid)]" name="my"/>
11
<separator orientation="vertical"/>
13
<field name="user_id"/>
14
<field name="res_model"/>
18
<record id="res_log_tree" model="ir.ui.view">
19
<field name="name">res.log.tree</field>
20
<field name="model">res.log</field>
21
<field name="type">tree</field>
22
<field name="arch" type="xml">
25
<field name="user_id"/>
29
<record id="res_log_form" model="ir.ui.view">
30
<field name="name">res.log.form</field>
31
<field name="model">res.log</field>
32
<field name="type">form</field>
33
<field name="arch" type="xml">
35
<group colspan="4" col="6">
36
<field name="name" colspan="4"/>
37
<field name="user_id" />
38
<field name="res_model"/>
39
<field name="res_id"/>
45
<record id="res_log_act_window" model="ir.actions.act_window">
46
<field name="name">Logs</field>
47
<field name="res_model">res.log</field>
48
<field name="view_type">form</field>
49
<field name="context">{'search_default_my': 1}</field>
52
action="res_log_act_window"
53
id="menu_res_log_act_window"
54
parent="base.next_id_4"/>