/usr/lib/python2.7/dist-packages/trytond/ir/attachment.xml is in tryton-server 3.0.2-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 | <?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="attachment_view_form">
<field name="model">ir.attachment</field>
<field name="type">form</field>
<field name="name">attachment_form</field>
</record>
<record model="ir.ui.view" id="attachment_view_tree">
<field name="model">ir.attachment</field>
<field name="type">tree</field>
<field name="name">attachment_list</field>
</record>
<record model="ir.action.act_window" id="act_attachment_form">
<field name="name">Attachments</field>
<field name="type">ir.action.act_window</field>
<field name="res_model">ir.attachment</field>
</record>
<record model="ir.action.act_window.view"
id="act_attachment_form_view1">
<field name="sequence" eval="1"/>
<field name="view" ref="attachment_view_tree"/>
<field name="act_window" ref="act_attachment_form"/>
</record>
<record model="ir.action.act_window.view"
id="act_attachment_form_view2">
<field name="sequence" eval="2"/>
<field name="view" ref="attachment_view_form"/>
<field name="act_window" ref="act_attachment_form"/>
</record>
<menuitem name="Attachments" parent="ir.menu_models"
action="act_attachment_form" id="menu_attachment_form"/>
</data>
</tryton>
|