2010-03-30 12:47:02 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<openerp>
|
|
|
|
<data>
|
|
|
|
|
2010-07-16 13:40:25 +00:00
|
|
|
<record id="view_account_invoice_refund" model="ir.ui.view">
|
2010-03-30 12:47:02 +00:00
|
|
|
<field name="name">account.invoice.refund.form</field>
|
|
|
|
<field name="model">account.invoice.refund</field>
|
|
|
|
<field name="arch" type="xml">
|
2012-06-09 23:09:29 +00:00
|
|
|
<form string="Credit Note" version="7.0">
|
2012-06-09 13:50:41 +00:00
|
|
|
<separator string="Credit Note Options"/>
|
|
|
|
<group col="4">
|
2010-08-14 05:05:55 +00:00
|
|
|
<field name="description"/>
|
2010-09-22 11:24:03 +00:00
|
|
|
<field name="journal_id" widget='selection'/>
|
2010-07-16 13:40:25 +00:00
|
|
|
<field name="date"/>
|
|
|
|
<field name="period"/>
|
2010-08-25 06:01:16 +00:00
|
|
|
<field name="filter_refund"/>
|
2010-03-30 12:47:02 +00:00
|
|
|
</group>
|
2012-06-09 13:50:41 +00:00
|
|
|
<label string="Modify Invoice: Cancels the current invoice and creates a new copy of it ready for editing."/>
|
|
|
|
<label string="Credit Note: Creates the credit note, ready for editing."/>
|
|
|
|
<label string="Cancel Invoice: Creates the credit note, validate and reconcile it to cancel the current invoice."/>
|
2012-07-10 16:40:11 +00:00
|
|
|
<footer>
|
|
|
|
<button string='Refund' name="invoice_refund" type="object" class="oe_highlight"/>
|
|
|
|
or
|
|
|
|
<button string="Cancel" class="oe_link" special="cancel"/>
|
|
|
|
</footer>
|
2010-03-30 12:47:02 +00:00
|
|
|
</form>
|
|
|
|
</field>
|
2010-07-16 13:40:25 +00:00
|
|
|
</record>
|
2010-03-30 12:47:02 +00:00
|
|
|
|
|
|
|
<record id="action_account_invoice_refund" model="ir.actions.act_window">
|
2010-08-14 03:49:05 +00:00
|
|
|
<field name="name">Refund</field>
|
2010-03-30 12:47:02 +00:00
|
|
|
<field name="res_model">account.invoice.refund</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">tree,form</field>
|
|
|
|
<field name="view_id" ref="view_account_invoice_refund"/>
|
|
|
|
<field name="target">new</field>
|
|
|
|
</record>
|
|
|
|
|
|
|
|
|
|
|
|
</data>
|
2010-06-02 10:39:13 +00:00
|
|
|
</openerp>
|