2007-12-12 22:45:52 +01:00
|
|
|
<?xml version="1.0"?>
|
2008-06-23 20:18:54 +02:00
|
|
|
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of this repository contains the full copyright notices and license terms. -->
|
2008-01-17 23:30:46 +01:00
|
|
|
<tryton>
|
2007-12-12 22:45:52 +01:00
|
|
|
<data>
|
|
|
|
|
<record model="ir.ui.view" id="attachment_view_form">
|
|
|
|
|
<field name="model">ir.attachment</field>
|
|
|
|
|
<field name="type">form</field>
|
|
|
|
|
<field name="arch" type="xml">
|
2007-12-30 00:18:11 +01:00
|
|
|
<![CDATA[
|
2008-02-17 02:18:19 +01:00
|
|
|
<form string="Attachments">
|
2008-02-05 10:29:50 +01:00
|
|
|
<label name="name"/>
|
2008-02-05 11:40:21 +01:00
|
|
|
<field name="name"/>
|
2008-02-05 10:29:50 +01:00
|
|
|
<label name="res_model"/>
|
2008-02-05 11:40:21 +01:00
|
|
|
<field name="res_model"/>
|
2008-02-05 10:29:50 +01:00
|
|
|
<label name="res_id"/>
|
2007-12-12 22:45:52 +01:00
|
|
|
<field name="res_id"/>
|
2008-02-05 10:29:50 +01:00
|
|
|
<label name="datas"/>
|
2008-02-17 02:18:19 +01:00
|
|
|
<field name="datas"/>
|
|
|
|
|
<separator name="description" colspan="4"/>
|
|
|
|
|
<field name="description" colspan="4"/>
|
2007-12-12 22:45:52 +01:00
|
|
|
</form>
|
2007-12-30 00:18:11 +01:00
|
|
|
]]>
|
2007-12-12 22:45:52 +01:00
|
|
|
</field>
|
|
|
|
|
</record>
|
|
|
|
|
<record model="ir.ui.view" id="attachment_view_tree">
|
|
|
|
|
<field name="model">ir.attachment</field>
|
|
|
|
|
<field name="type">tree</field>
|
|
|
|
|
<field name="arch" type="xml">
|
2007-12-30 00:18:11 +01:00
|
|
|
<![CDATA[
|
2007-12-12 22:45:52 +01:00
|
|
|
<tree string="Attachments">
|
2008-02-05 11:40:21 +01:00
|
|
|
<field name="name" select="1"/>
|
|
|
|
|
<field name="res_model" select="1"/>
|
2007-12-12 22:45:52 +01:00
|
|
|
<field name="res_id"/>
|
|
|
|
|
</tree>
|
2007-12-30 00:18:11 +01:00
|
|
|
]]>
|
2007-12-12 22:45:52 +01:00
|
|
|
</field>
|
|
|
|
|
</record>
|
2008-01-16 21:06:31 +01:00
|
|
|
<record model="ir.action.act_window" id="act_attachment_form">
|
2007-12-12 22:45:52 +01:00
|
|
|
<field name="name">Attachments</field>
|
2008-01-16 21:06:31 +01:00
|
|
|
<field name="type">ir.action.act_window</field>
|
2007-12-12 22:45:52 +01:00
|
|
|
<field name="res_model">ir.attachment</field>
|
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
|
</record>
|
2008-01-16 21:06:31 +01:00
|
|
|
<record model="ir.action.act_window.view"
|
2007-12-12 22:45:52 +01:00
|
|
|
id="act_attachment_form_view1">
|
|
|
|
|
<field name="sequence" eval="1"/>
|
2008-02-17 14:16:18 +01:00
|
|
|
<field name="view" ref="attachment_view_tree"/>
|
2008-02-17 13:54:01 +01:00
|
|
|
<field name="act_window" ref="act_attachment_form"/>
|
2007-12-12 22:45:52 +01:00
|
|
|
</record>
|
2008-01-16 21:06:31 +01:00
|
|
|
<record model="ir.action.act_window.view"
|
2007-12-12 22:45:52 +01:00
|
|
|
id="act_attachment_form_view2">
|
|
|
|
|
<field name="sequence" eval="2"/>
|
2008-02-17 14:16:18 +01:00
|
|
|
<field name="view" ref="attachment_view_form"/>
|
2008-02-17 13:54:01 +01:00
|
|
|
<field name="act_window" ref="act_attachment_form"/>
|
2007-12-12 22:45:52 +01:00
|
|
|
</record>
|
2008-09-01 18:21:39 +02:00
|
|
|
<menuitem name="Attachments" parent="ir.menu_models"
|
2007-12-12 22:45:52 +01:00
|
|
|
action="act_attachment_form" id="menu_attachment_form"/>
|
|
|
|
|
</data>
|
2008-01-17 23:30:46 +01:00
|
|
|
</tryton>
|