1 <?xml version="1.0" encoding="utf-8"?>
5 <record id="view_account_invoice_refund" model="ir.ui.view">
6 <field name="name">account.invoice.refund.form</field>
7 <field name="model">account.invoice.refund</field>
8 <field name="type">form</field>
9 <field name="arch" type="xml">
10 <form string="Refund Invoice">
11 <separator string="Refund Invoice Options" colspan="4"/>
13 <field name="description"/>
14 <field name="journal_id" widget='selection'/>
16 <field name="period"/>
17 <field name="filter_refund"/>
19 <separator colspan="4"/>
20 <group col="4" colspan="4" fill="1">
21 <label align="0.0" width="550" colspan="4" string="Modify Invoice: Cancels the current invoice and creates a new copy of it ready for editing."/>
22 <label align="0.0" width="300" string="Refund Invoice: Creates the refund invoice, ready for editing."/>
23 <label align="0.0" width="500" colspan="4" string="Cancel Invoice: Creates the refund invoice, validate and reconcile it to cancel the current invoice."/>
25 <separator colspan="4"/>
26 <group colspan="4" col="6">
27 <button icon="gtk-cancel" special="cancel" string="Cancel"/>
28 <button string='Refund' icon="gtk-execute" name="invoice_refund" type="object"/>
34 <record id="action_account_invoice_refund" model="ir.actions.act_window">
35 <field name="name">Refund</field>
36 <field name="res_model">account.invoice.refund</field>
37 <field name="view_type">form</field>
38 <field name="view_mode">tree,form</field>
39 <field name="view_id" ref="view_account_invoice_refund"/>
40 <field name="target">new</field>