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="Credit Note" version="7.0">
12 <button string='Refund' icon="gtk-execute" name="invoice_refund" type="object" class="oe_form_button_active_flow"/>
14 <separator string="Credit Note Options"/>
16 <field name="description"/>
17 <field name="journal_id" widget='selection'/>
19 <field name="period"/>
20 <field name="filter_refund"/>
22 <label string="Modify Invoice: Cancels the current invoice and creates a new copy of it ready for editing."/>
23 <label string="Credit Note: Creates the credit note, ready for editing."/>
24 <label string="Cancel Invoice: Creates the credit note, validate and reconcile it to cancel the current invoice."/>
29 <record id="action_account_invoice_refund" model="ir.actions.act_window">
30 <field name="name">Refund</field>
31 <field name="res_model">account.invoice.refund</field>
32 <field name="view_type">form</field>
33 <field name="view_mode">tree,form</field>
34 <field name="view_id" ref="view_account_invoice_refund"/>
35 <field name="target">new</field>