-
Notifications
You must be signed in to change notification settings - Fork 8
/
static_file.xml
122 lines (114 loc) · 4.54 KB
/
static_file.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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<?xml version="1.0" encoding="UTF-8"?>
<!--
This file is part of Tryton & Nereid. The COPYRIGHT file at the
top level of this repository contains the full copyright notices
and license terms.
-->
<tryton>
<data>
<!-- Static Bank -->
<record id="nereid_static_folder_form" model="ir.ui.view">
<field name="model">nereid.static.folder</field>
<field name="type">form</field>
<field name="arch" type="xml">
<![CDATA[
<form string="Static Folder">
<label name="folder_name" />
<field name="folder_name" />
<label name="description" />
<field name="description" />
<notebook>
<page string="Files" id="files">
<field name="files" colspan="4" />
</page>
</notebook>
</form>
]]>
</field>
</record>
<record id="nereid_static_folder_tree" model="ir.ui.view">
<field name="model">nereid.static.folder</field>
<field name="type">tree</field>
<field name="arch" type="xml">
<![CDATA[
<tree>
<field name="folder_name" />
</tree>
]]>
</field>
</record>
<record model="ir.action.act_window" id="action_nereid_static_folder_view">
<field name="name">Nereid Static Folders</field>
<field name="res_model">nereid.static.folder</field>
</record>
<record model="ir.action.act_window.view" id="act_nereid_static_folder_view1">
<field name="sequence" eval="10" />
<field name="view" ref="nereid_static_folder_tree" />
<field name="act_window" ref="action_nereid_static_folder_view" />
</record>
<record model="ir.action.act_window.view" id="act_nereid_static_folder_view2">
<field name="sequence" eval="20" />
<field name="view" ref="nereid_static_folder_form" />
<field name="act_window" ref="action_nereid_static_folder_view" />
</record>
<menuitem id="menu_nereid_static" parent="menu_nereid" name="Static" />
<menuitem name="Static Folders" sequence="20"
id="menu_nereid_config_static_folder"
action="action_nereid_static_folder_view"
parent="menu_nereid_static" />
<record id="nereid_static_file_form" model="ir.ui.view">
<field name="model">nereid.static.file</field>
<field name="type">form</field>
<field name="arch" type="xml">
<![CDATA[
<form>
<label name="name" />
<field name="name" />
<label name="folder" />
<field name="folder" />
<label name="type" />
<field name="type" />
<separator colspan="4" id="paths" string="Paths"/>
<label name="remote_path" />
<field name="remote_path" />
<label name="file_path" />
<field name="file_path" />
<separator string="Preview"
colspan="4" id="sepr_preview"/>
<field name="file_binary" widget="image" colspan="4"/>
</form>
]]>
</field>
</record>
<record id="nereid_static_file_tree" model="ir.ui.view">
<field name="model">nereid.static.file</field>
<field name="type">tree</field>
<field name="arch" type="xml">
<![CDATA[
<tree>
<field name="name" />
<field name="folder" />
</tree>
]]>
</field>
</record>
<record model="ir.action.act_window" id="action_nereid_static_file_view">
<field name="name">Nereid Static Files</field>
<field name="res_model">nereid.static.file</field>
</record>
<record model="ir.action.act_window.view" id="act_nereid_static_file_view1">
<field name="sequence" eval="10" />
<field name="view" ref="nereid_static_file_tree" />
<field name="act_window" ref="action_nereid_static_file_view" />
</record>
<record model="ir.action.act_window.view" id="act_nereid_static_file_view2">
<field name="sequence" eval="20" />
<field name="view" ref="nereid_static_file_form" />
<field name="act_window" ref="action_nereid_static_file_view" />
</record>
<menuitem id="menu_nereid_config_static_file"
parent="menu_nereid_static"
name="Static Files"
action="action_nereid_static_file_view" />
</data>
</tryton>