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">
11 <separator string="This wizard is used to refund the invoice" colspan="4"/>
13 <label string="Are you sure you want to refund this invoice ?" colspan="2"/>
16 <field name="period"/>
17 <field name="description"/>
19 <separator colspan="4"/>
20 <group col="4" colspan="4" fill="1">
21 <label align="0.0" width="300" string="Refund Invoice: creates a refund invoice"/>
22 <label align="0.0" width="500" colspan="4" string="Cancel Invoice: creates a reverse accounting entries to cancel the invoice"/>
23 <label align="0.0" width="550" colspan="4" string="Modify Invoice: creates a refund invoice, and new copy of the same invoice ready for editing"/>
25 <separator colspan="4"/>
26 <group colspan="4" col="6">
27 <label string ="" colspan="2"/>
28 <button icon="gtk-cancel" special="cancel" string="Cancel"/>
29 <button icon="gtk-redo" string="Refund Invoice" name="invoice_refund" type="object"/>
30 <button icon="gtk-ok" string="Cancel Invoice" name="invoice_cancel" type="object"/>
31 <button icon="gtk-undo" string="Modify Invoice" name="invoice_modify" type="object"/>
37 <record id="action_account_invoice_refund" model="ir.actions.act_window">
38 <field name="name">Refund</field>
39 <field name="res_model">account.invoice.refund</field>
40 <field name="view_type">form</field>
41 <field name="view_mode">tree,form</field>
42 <field name="view_id" ref="view_account_invoice_refund"/>
43 <field name="target">new</field>