/usr/share/pyshared/trytond/res/request.xml is in tryton-server 2.2.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 | <?xml version="1.0"?>
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<tryton>
<data>
<record model="ir.ui.view" id="request_view_tree">
<field name="model">res.request</field>
<field name="type">tree</field>
<field name="arch" type="xml">
<![CDATA[
<tree string="Requests">
<field name="create_date"/>
<field name="act_from"/>
<field name="act_to"/>
<field name="name"/>
<field name="priority"/>
<field name="trigger_date"/>
<field name="number_references"/>
<field name="state"/>
<field name="active"/>
<field name="body" tree_invisible="1"/>
</tree>
]]>
</field>
</record>
<record model="ir.ui.view" id="request_view_form">
<field name="model">res.request</field>
<field name="type">form</field>
<field name="arch" type="xml">
<![CDATA[
<form string="Requests" col="6" cursor="act_to">
<label name="act_from"/>
<field name="act_from"/>
<label name="act_to"/>
<field name="act_to"/>
<group colspan="2" col="4" id="active_ref">
<label name="active"/>
<field name="active"/>
<label name="references"/>
<field name="number_references"/>
</group>
<label name="name"/>
<field name="name" colspan="3"/>
<label name="priority"/>
<field name="priority"/>
<notebook colspan="6">
<page string="Request" id="request">
<separator name="body" colspan="4"/>
<field name="body" colspan="4"/>
<field name="history" colspan="4"/>
<label name="trigger_date"/>
<field name="trigger_date"/>
<group col="2" colspan="2" id="buttons">
<button name="request_send"
states="{'invisible': Not(In(Eval('state'), ['draft', 'chatting'])), 'readonly': Not(Equal(Eval('act_from'), Eval('_user')))}"
string="Send" type="object"/>
<button name="request_reply"
states="{'invisible': Not(Equal(Eval('state'), 'waiting')), 'readonly': Not(Equal(Eval('act_to'), Eval('_user')))}"
string="Reply" type="object"/>
</group>
<label name="state"/>
<field name="state"/>
<group col="3" colspan="2" id="button">
<button name="request_close"
states="{'invisible': Not(In(Eval('state'), ['waiting', 'draft', 'chatting']))}"
string="Close" type="object"/>
</group>
</page>
<page string="References" col="1" id="references">
<field name="references"/>
</page>
</notebook>
</form>
]]>
</field>
</record>
<record model="ir.action.act_window" id="act_request_form">
<field name="name">Requests</field>
<field name="res_model">res.request</field>
</record>
<record model="ir.action.act_window.view"
id="act_request_form_view1">
<field name="sequence" eval="1"/>
<field name="view" ref="request_view_tree"/>
<field name="act_window" ref="act_request_form"/>
</record>
<record model="ir.action.act_window.view"
id="act_request_form_view2">
<field name="sequence" eval="2"/>
<field name="view" ref="request_view_form"/>
<field name="act_window" ref="act_request_form"/>
</record>
<menuitem parent="res.menu_res"
action="act_request_form" id="menu_request_form"/>
<record model="ir.ui.menu-res.group" id="menu_request_form_group_admin">
<field name="menu" ref="menu_request_form"/>
<field name="group" ref="group_admin"/>
</record>
<record model="ir.ui.view" id="request_link_view_form">
<field name="model">res.request.link</field>
<field name="type">form</field>
<field name="arch" type="xml">
<![CDATA[
<form string="Request Link" col="6">
<label name="name"/>
<field name="name"/>
<label name="model"/>
<field name="model"/>
<label name="priority"/>
<field name="priority"/>
</form>
]]>
</field>
</record>
<record model="ir.ui.view" id="request_link_view_tree">
<field name="model">res.request.link</field>
<field name="type">tree</field>
<field name="arch" type="xml">
<![CDATA[
<tree string="Request Link">
<field name="name"/>
<field name="model"/>
</tree>
]]>
</field>
</record>
<record model="ir.action.act_window" id="act_request_link_form">
<field name="name">Request Links</field>
<field name="res_model">res.request.link</field>
</record>
<record model="ir.action.act_window.view"
id="act_request_link_form_view1">
<field name="sequence" eval="10"/>
<field name="view" ref="request_link_view_tree"/>
<field name="act_window" ref="act_request_link_form"/>
</record>
<record model="ir.action.act_window.view"
id="act_request_link_form_view2">
<field name="sequence" eval="20"/>
<field name="view" ref="request_link_view_form"/>
<field name="act_window" ref="act_request_link_form"/>
</record>
<menuitem parent="res.menu_res"
action="act_request_link_form" id="menu_request_link_form"/>
<record model="ir.ui.menu-res.group" id="menu_request_link_form_group_admin">
<field name="menu" ref="menu_request_link_form"/>
<field name="group" ref="group_admin"/>
</record>
<record model="ir.ui.view" id="request_history_view_tree">
<field name="model">res.request.history</field>
<field name="type">tree</field>
<field name="arch" type="xml">
<![CDATA[
<tree string="Request History">
<field name="act_from"/>
<field name="act_to"/>
<field name="name"/>
<field name="number_references"/>
<field name="date_sent"/>
<field name="state"/>
</tree>
]]>
</field>
</record>
<record model="ir.ui.view" id="request_history_view_form">
<field name="model">res.request.history</field>
<field name="type">form</field>
<field name="arch" type="xml">
<![CDATA[
<form string="Request History" col="6">
<label name="act_from"/>
<field name="act_from"/>
<label name="act_to"/>
<field name="act_to"/>
<label name="number_references"/>
<field name="number_references"/>
<label name="subject"/>
<field name="subject" colspan="3"/>
<label name="priority"/>
<field name="priority"/>
<field name="body" colspan="6"/>
<label name="date_sent"/>
<field name="date_sent" colspan="3"/>
<newline/>
<label name="state"/>
<field name="state" colspan="3"/>
</form>
]]>
</field>
</record>
<record model="ir.ui.view" id="request_reference_view_tree">
<field name="model">res.request.reference</field>
<field name="type">tree</field>
<field name="arch" type="xml">
<![CDATA[
<tree string="Request References">
<field name="request"/>
<field name="reference"/>
</tree>
]]>
</field>
</record>
<record model="ir.ui.view" id="request_reference_view_form">
<field name="model">res.request.reference</field>
<field name="type">form</field>
<field name="arch" type="xml">
<![CDATA[
<form string="Request Reference" col="2">
<label name="request"/>
<field name="request"/>
<label name="reference"/>
<field name="reference"/>
</form>
]]>
</field>
</record>
</data>
</tryton>
|