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.4 KiB

<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<!--wizard view of send.document model-->
<record id="send_document_view_form" model="ir.ui.view">
<field name="name">send.document.view.form</field>
<field name="model">send.document</field>
<field name="arch" type="xml">
<form>
<group>
<field name="email_id" string="Customer"/>
<field name="check" id='check' invisible="1"/>
<field name="reference"/>
<field name="file"
string="Document" widget="edit_pdf_viewer"/>
</group>
<footer>
<button name="action_send_documents" type="object"
context="{'key': 0}"
invisible="check == False"
string="Send Documents"
class="oe_highlight"/>
</footer>
</form>
</field>
</record>
<!--action for viewing send.document model-->
<record id="action_send_document" model="ir.actions.act_window">
<field name="name">send document view action</field>
<field name="res_model">send.document</field>
<field name="type">ir.actions.act_window</field>
<field name="view_mode">form</field>
</record>
</odoo>