-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
/
Copy pathres_users_views.xml
78 lines (76 loc) · 2.91 KB
/
res_users_views.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2023 Taras Shabaranskyi
License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). -->
<odoo>
<record id="res_users_view_form_apps_menu_preferences" model="ir.ui.view">
<field name="name">res.users.apps.menu.preferences.form</field>
<field name="model">res.users</field>
<field name="arch" type="xml">
<form>
<group>
<group>
<field
name="apps_menu_search_type"
string="Search Type"
help="Apps Menu Search Type"
/>
</group>
<group>
<field
name="apps_menu_theme"
string="Theme"
help="Apps Menu Theme"
/>
</group>
</group>
<div class="mt-3">
<h3>Search Type Help</h3>
<table class="table table-bordered w-100 w-lg-50">
<tr>
<th>Canonical</th>
<td>uses a standard algorithm</td>
</tr>
<tr>
<th>Fuse</th>
<td>a new search algorithm is used</td>
</tr>
<tr>
<th>Command Palette</th>
<td>the standard odoo search tool</td>
</tr>
</table>
</div>
</form>
</field>
</record>
<record
id="res_users_view_form_apps_menu_preferences_action"
model="ir.actions.act_window"
>
<field name="name">Apps Menu Preferences</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">res.users</field>
<field name="view_mode">form</field>
<field name="target">new</field>
<field
name="view_ids"
eval="[
Command.clear(),
Command.create({'view_mode': 'form', 'view_id': ref('web_responsive.res_users_view_form_apps_menu_preferences')})
]"
/>
</record>
<record id="view_users_form_web_responsive" model="ir.ui.view">
<field name="name">res.users.form.web.responsive</field>
<field name="model">res.users</field>
<field name="inherit_id" ref="base.view_users_form" />
<field name="arch" type="xml">
<data>
<field name="action_id" position="after">
<field name="is_redirect_home" invisible="action_id" />
<field name="display_file_viewer" />
</field>
</data>
</field>
</record>
</odoo>