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="type">form</field>
|
|
|
|
<field name="arch" type="xml">
|
|
|
|
<form string="Credit Note">
|
2010-07-16 13:40:25 +00:00
|
|
|
<separator string="This wizard is used to refund the invoice" colspan="4"/>
|
|
|
|
<group colspan="4" >
|
|
|
|
<label string="Are you sure you want to refund this invoice ?" colspan="2"/>
|
|
|
|
<newline/>
|
|
|
|
<field name="date"/>
|
|
|
|
<field name="period"/>
|
|
|
|
<field name="description"/>
|
2010-03-30 12:47:02 +00:00
|
|
|
</group>
|
2010-07-16 13:40:25 +00:00
|
|
|
<separator colspan="4"/>
|
|
|
|
<group col="4" colspan="4" fill="1">
|
|
|
|
<label align="0.0" width="300" string="Refund Invoice: creates a refund invoice"/>
|
|
|
|
<label align="0.0" width="500" colspan="4" string="Cancel Invoice: creates a reverse accounting entries to cancel the invoice"/>
|
|
|
|
<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"/>
|
|
|
|
</group>
|
|
|
|
<separator colspan="4"/>
|
2010-03-30 12:47:02 +00:00
|
|
|
<group colspan="4" col="6">
|
2010-07-16 13:40:25 +00:00
|
|
|
<label string ="" colspan="2"/>
|
|
|
|
<button icon="gtk-cancel" special="cancel" string="Cancel"/>
|
|
|
|
<button icon="gtk-redo" string="Refund Invoice" name="invoice_refund" type="object"/>
|
|
|
|
<button icon="gtk-ok" string="Cancel Invoice" name="invoice_cancel" type="object"/>
|
|
|
|
<button icon="gtk-undo" string="Modify Invoice" name="invoice_modify" type="object"/>
|
2010-03-30 12:47:02 +00:00
|
|
|
</group>
|
|
|
|
</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">
|
|
|
|
<field name="name">Credit Note</field>
|
|
|
|
<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>
|