1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <rng:grammar xmlns:
rng=
"http://relaxng.org/ns/structure/1.0">
3 <rng:define name=
"any">
18 <rng:define name=
"value">
19 <rng:element name=
"value">
20 <rng:optional><rng:attribute name=
"model" /></rng:optional>
21 <rng:optional><rng:attribute name=
"search" /></rng:optional>
23 <rng:attribute name=
"eval"/>
29 <rng:define name=
"function">
30 <rng:element name=
"function">
31 <rng:attribute name=
"model" />
32 <rng:attribute name=
"name" />
33 <rng:optional><rng:attribute name=
"id" /></rng:optional>
34 <rng:optional><rng:attribute name=
"eval" /></rng:optional>
39 <rng:ref name=
"value" />
40 <rng:ref name=
"function" />
47 <rng:define name=
"assert">
48 <rng:element name=
"assert">
49 <rng:attribute name=
"model" />
50 <rng:optional><rng:attribute name=
"search" /> </rng:optional>
51 <rng:optional><rng:attribute name=
"string" /></rng:optional>
52 <rng:optional><rng:attribute name=
"id" /></rng:optional>
53 <rng:optional><rng:attribute name=
"severity" /></rng:optional>
55 <rng:element name=
"test">
56 <rng:attribute name=
"expr"/>
66 <rng:define name=
"workflow">
67 <rng:element name=
"workflow">
68 <rng:attribute name=
"model" />
69 <rng:optional><rng:attribute name=
"ref" /></rng:optional>
70 <rng:attribute name=
"action"/>
71 <rng:optional><rng:attribute name=
"uid"/></rng:optional>
74 <rng:ref name=
"value"/>
79 <rng:define name=
"wizard">
80 <rng:element name=
"wizard">
81 <rng:attribute name=
"name"/>
82 <rng:attribute name=
"id" />
83 <rng:optional><rng:attribute name=
"menu" /></rng:optional>
84 <rng:optional><rng:attribute name=
"model" /></rng:optional>
85 <rng:attribute name=
"string" />
86 <rng:optional><rng:attribute name=
"keyword" /></rng:optional>
87 <rng:optional><rng:attribute name=
"multi" /></rng:optional>
88 <rng:optional><rng:attribute name=
"client_action_multi" /></rng:optional>
89 <rng:optional> <rng:attribute name=
"groups"/> </rng:optional>
93 <rng:define name=
"report">
94 <rng:element name=
"report">
95 <rng:optional><rng:attribute name=
"id"/></rng:optional>
96 <rng:attribute name=
"string"/>
97 <rng:attribute name=
"model"/>
98 <rng:attribute name=
"name"/>
99 <rng:optional><rng:attribute name=
"report_type"/></rng:optional>
100 <rng:optional><rng:attribute name=
"multi"/></rng:optional>
101 <rng:optional><rng:attribute name=
"menu"/></rng:optional>
102 <rng:optional><rng:attribute name=
"keyword"/></rng:optional>
103 <rng:optional><rng:attribute name=
"rml"/></rng:optional>
104 <rng:optional><rng:attribute name=
"sxw"/></rng:optional>
105 <rng:optional><rng:attribute name=
"xml"/></rng:optional>
106 <rng:optional><rng:attribute name=
"xsl"/></rng:optional>
107 <rng:optional> <rng:attribute name=
"auto" /> </rng:optional>
108 <rng:optional> <rng:attribute name=
"header" /> </rng:optional>
109 <rng:optional> <rng:attribute name=
"attachment" /> </rng:optional>
110 <rng:optional> <rng:attribute name=
"attachment_use" /> </rng:optional>
111 <rng:optional> <rng:attribute name=
"groups"/> </rng:optional>
116 <rng:define name=
"field">
117 <rng:element name=
"field">
118 <rng:attribute name=
"name" />
119 <rng:optional><rng:attribute name=
"type"/></rng:optional>
120 <rng:optional><rng:attribute name=
"ref"/></rng:optional>
121 <rng:optional><rng:attribute name=
"eval"/></rng:optional>
122 <rng:optional><rng:attribute name=
"domain"/></rng:optional>
123 <rng:optional><rng:attribute name=
"search"/></rng:optional>
124 <rng:optional><rng:attribute name=
"model"/></rng:optional>
125 <rng:optional><rng:attribute name=
"use"/></rng:optional>
128 <rng:ref name=
"any"/>
136 <rng:define name=
"record">
137 <rng:element name=
"record">
138 <rng:optional><rng:attribute name=
"id" /> </rng:optional>
139 <rng:attribute name=
"model" />
140 <rng:optional><rng:attribute name=
"forcecreate" /></rng:optional>
142 <rng:ref name=
"field" />
147 <rng:define name=
"delete">
148 <rng:element name=
"delete">
149 <rng:attribute name=
"model" />
150 <rng:optional><rng:attribute name=
"id" /> </rng:optional>
151 <rng:optional><rng:attribute name=
"search" /></rng:optional>
155 <rng:define name=
"ir_set">
156 <rng:element name=
"ir_set">
158 <rng:ref name=
"field" />
163 <rng:define name=
"menuitem">
164 <rng:element name=
"menuitem">
165 <!-- L'identifiant devrait être obligatoire -->
166 <rng:optional> <rng:attribute name=
"id" /></rng:optional>
167 <!-- Attention le nom peut disparaitre uniquement si le parent est présent -->
168 <rng:optional> <rng:attribute name=
"name"/></rng:optional>
169 <rng:optional> <rng:attribute name=
"parent"/> </rng:optional>
170 <rng:optional> <rng:attribute name=
"icon"/> </rng:optional>
171 <rng:optional> <rng:attribute name=
"action"/> </rng:optional>
172 <rng:optional> <rng:attribute name=
"string"/> </rng:optional>
173 <rng:optional> <rng:attribute name=
"sequence"/> </rng:optional>
174 <rng:optional> <rng:attribute name=
"groups"/> </rng:optional>
175 <rng:optional> <rng:attribute name=
"type"/> </rng:optional>
176 <rng:optional> <rng:attribute name=
"menu"/> </rng:optional>
181 <rng:define name=
"act_window">
182 <rng:element name=
"act_window">
183 <rng:attribute name=
"id" />
184 <rng:attribute name=
"name" />
185 <rng:attribute name=
"res_model" />
186 <rng:optional><rng:attribute name=
"domain" /> </rng:optional>
187 <rng:optional><rng:attribute name=
"src_model" /></rng:optional>
188 <rng:optional><rng:attribute name=
"context" /></rng:optional>
189 <rng:optional> <rng:attribute name=
"view"/> </rng:optional>
190 <rng:optional> <rng:attribute name=
"view_id"/> </rng:optional>
191 <rng:optional> <rng:attribute name=
"view_type"/> </rng:optional>
192 <rng:optional> <rng:attribute name=
"view_mode"/> </rng:optional>
193 <rng:optional> <rng:attribute name=
"multi"/> </rng:optional>
194 <rng:optional> <rng:attribute name=
"target"/> </rng:optional>
195 <rng:optional> <rng:attribute name=
"groups"/> </rng:optional>
200 <rng:define name=
"data">
201 <rng:element name=
"data">
202 <rng:optional><rng:attribute name=
"noupdate" /></rng:optional>
206 <rng:ref name=
"menuitem" />
207 <rng:ref name=
"record" />
208 <rng:ref name=
"delete" />
209 <rng:ref name=
"wizard" />
210 <rng:ref name=
"act_window" />
211 <rng:ref name=
"assert" />
212 <rng:ref name=
"report" />
213 <rng:ref name=
"workflow" />
214 <rng:ref name=
"function" />
215 <rng:ref name=
"ir_set" />
223 <rng:element name=
"openerp">
225 <rng:ref name=
"data" />
228 <rng:element name=
"terp">
230 <rng:ref name=
"data" />