You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
59 lines
1.8 KiB
59 lines
1.8 KiB
<openerp>
|
|
<data>
|
|
<!-- explicit list view definition -->
|
|
<!--
|
|
<record model="ir.ui.view" id="mail_arhives.list">
|
|
<field name="name">mail_arhives list</field>
|
|
<field name="model">mail_arhives.mail_arhives</field>
|
|
<field name="arch" type="xml">
|
|
<tree>
|
|
<field name="name"/>
|
|
<field name="value"/>
|
|
<field name="value2"/>
|
|
</tree>
|
|
</field>
|
|
</record>
|
|
-->
|
|
|
|
<!-- actions opening views on models -->
|
|
<!--
|
|
<record model="ir.actions.act_window" id="mail_arhives.action_window">
|
|
<field name="name">mail_arhives window</field>
|
|
<field name="res_model">mail_arhives.mail_arhives</field>
|
|
<field name="view_mode">tree,form</field>
|
|
</record>
|
|
-->
|
|
|
|
<!-- server action to the one above -->
|
|
<!--
|
|
<record model="ir.actions.server" id="mail_arhives.action_server">
|
|
<field name="name">mail_arhives server</field>
|
|
<field name="model_id" ref="model_mail_arhives_mail_arhives"/>
|
|
<field name="code">
|
|
action = {
|
|
"type": "ir.actions.act_window",
|
|
"view_mode": "tree,form",
|
|
"res_model": self._name,
|
|
}
|
|
</field>
|
|
</record>
|
|
-->
|
|
|
|
<!-- Top menu item -->
|
|
<!--
|
|
<menuitem name="mail_arhives" id="mail_arhives.menu_root"/>
|
|
-->
|
|
<!-- menu categories -->
|
|
<!--
|
|
<menuitem name="Menu 1" id="mail_arhives.menu_1" parent="mail_arhives.menu_root"/>
|
|
<menuitem name="Menu 2" id="mail_arhives.menu_2" parent="mail_arhives.menu_root"/>
|
|
-->
|
|
<!-- actions -->
|
|
<!--
|
|
<menuitem name="List" id="mail_arhives.menu_1_list" parent="mail_arhives.menu_1"
|
|
action="mail_arhives.action_window"/>
|
|
<menuitem name="Server to list" id="mail_arhives" parent="mail_arhives.menu_2"
|
|
action="mail_arhives.action_server"/>
|
|
-->
|
|
</data>
|
|
</openerp>
|