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.
 
 
 
 
 

35 lines
1.3 KiB

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- Create document types of user-->
<record id="document_attachment_action" model="ir.actions.act_window">
<field name="name">Attachments</field>
<field name="res_model">document.attachment</field>
<field name="view_mode">list,form</field>
</record>
<!-- Document attachments tree view-->
<record id="document_attachment_view_tree" model="ir.ui.view">
<field name="name">document.attachment.view.tree</field>
<field name="model">document.attachment</field>
<field name="arch" type="xml">
<list>
<field name="document"/>
</list>
</field>
</record>
<!-- Document attachment form view-->
<record id="document_attachment_view_form" model="ir.ui.view">
<field name="name">document.attachment.view.form</field>
<field name="model">document.attachment</field>
<field name="arch" type="xml">
<form>
<group>
<field name="document"/>
</group>
</form>
</field>
</record>
<!-- document attachment menu-->
<menuitem id="document_attachment_menu" name="Attachment"
parent="sale.menu_sales_config"
action="document_attachment_action"/>
</odoo>