/usr/share/pyshared/trytond/webdav/webdav.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 | <?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>
<menuitem name="WebDAV" id="menu_webdav"
parent="ir.menu_administration"/>
<record model="ir.ui.menu-res.group" id="menu_webdav_group_admin">
<field name="menu" ref="menu_webdav"/>
<field name="group" ref="res.group_admin"/>
</record>
<record model="ir.ui.view" id="collection_view_tree">
<field name="model">webdav.collection</field>
<field name="type">tree</field>
<field name="field_childs">childs</field>
<field name="arch" type="xml">
<![CDATA[
<tree string="Collections">
<field name="name"/>
<field name="model"/>
<field name="parent" tree_invisible="1"/>
<field name="childs" tree_invisible="1"/>
</tree>
]]>
</field>
</record>
<record model="ir.ui.view" id="collection_view_list">
<field name="model">webdav.collection</field>
<field name="type">tree</field>
<field name="arch" type="xml">
<![CDATA[
<tree string="Collections">
<field name="name"/>
<field name="model"/>
</tree>
]]>
</field>
</record>
<record model="ir.ui.view" id="collection_view_form">
<field name="model">webdav.collection</field>
<field name="type">form</field>
<field name="arch" type="xml">
<![CDATA[
<form string="Collection">
<label name="name"/>
<field name="name"/>
<label name="parent"/>
<field name="parent"/>
<label name="model"/>
<field name="model"/>
<label name="domain"/>
<field name="domain"/>
<field name="childs" colspan="4"/>
</form>
]]>
</field>
</record>
<record model="ir.action.act_window" id="act_collection_tree">
<field name="name">Collections</field>
<field name="type">ir.action.act_window</field>
<field name="res_model">webdav.collection</field>
<field name="domain">[('parent', '=', False)]</field>
</record>
<record model="ir.action.act_window.view"
id="act_collection_tree_view1">
<field name="sequence" eval="10"/>
<field name="view" ref="collection_view_tree"/>
<field name="act_window" ref="act_collection_tree"/>
</record>
<record model="ir.action.act_window.view"
id="act_collection_tree_view2">
<field name="sequence" eval="20"/>
<field name="view" ref="collection_view_form"/>
<field name="act_window" ref="act_collection_tree"/>
</record>
<menuitem parent="menu_webdav"
action="act_collection_tree" id="menu_collection_tree"/>
<record model="ir.ui.menu-res.group" id="menu_collection_tree_group_admin">
<field name="menu" ref="menu_collection_tree"/>
<field name="group" ref="res.group_admin"/>
</record>
<record model="ir.action.act_window" id="act_collection_list">
<field name="name">Collections</field>
<field name="res_model">webdav.collection</field>
</record>
<record model="ir.action.act_window.view"
id="act_collection_list_view1">
<field name="sequence" eval="10"/>
<field name="view" ref="collection_view_list"/>
<field name="act_window" ref="act_collection_list"/>
</record>
<record model="ir.action.act_window.view"
id="act_collection_lis_view2">
<field name="sequence" eval="20"/>
<field name="view" ref="collection_view_form"/>
<field name="act_window" ref="act_collection_list"/>
</record>
<menuitem name="Collections" parent="menu_collection_tree"
action="act_collection_list" id="menu_collection_list"/>
<record model="ir.ui.menu-res.group" id="menu_collection_list_group_admin">
<field name="menu" ref="menu_collection_list"/>
<field name="group" ref="res.group_admin"/>
</record>
</data>
</tryton>
|