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.
 
 
 
 
 

27 lines
1006 B

<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<!-- Document Share form view -->
<record id="document_share_view_form" model="ir.ui.view">
<field name="name">document.share.view.form</field>
<field name="model">document.share</field>
<field name="arch" type="xml">
<form>
<sheet>
<group>
<field name="url" widget="CopyClipboardChar"/>
</group>
</sheet>
<footer>
<button special="cancel">Cancel</button>
</footer>
</form>
</field>
</record>
<!-- Window Action to show data from document.share module-->
<record id="document_share_action" model="ir.actions.act_window">
<field name="name">Share Document</field>
<field name="res_model">document.share</field>
<field name="view_mode">form</field>
<field name="target">new</field>
</record>
</odoo>