2010-05-18 10:29:32 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<openerp>
|
|
|
|
<data>
|
2010-07-13 09:05:09 +00:00
|
|
|
<record id="view_sale_order_make_invoice" model="ir.ui.view">
|
2010-05-18 10:29:32 +00:00
|
|
|
<field name="name">Create invoices</field>
|
|
|
|
<field name="model">sale.make.invoice</field>
|
|
|
|
<field name="arch" type="xml">
|
2014-06-12 07:09:59 +00:00
|
|
|
<form string="Create invoices">
|
2012-04-24 06:05:32 +00:00
|
|
|
<separator colspan="4" string="Do you really want to create the invoice(s)?" />
|
2012-06-09 20:31:27 +00:00
|
|
|
<group>
|
2013-03-20 10:48:53 +00:00
|
|
|
<field name="grouped"/>
|
2012-06-09 20:31:27 +00:00
|
|
|
<field name="invoice_date"/>
|
|
|
|
</group>
|
2013-02-26 15:31:09 +00:00
|
|
|
<footer>
|
|
|
|
<button name="make_invoices" string="Create Invoices" type="object" class="oe_highlight"/>
|
|
|
|
or
|
|
|
|
<button string="Cancel" class="oe_link" special="cancel" />
|
|
|
|
</footer>
|
2010-07-13 09:05:09 +00:00
|
|
|
</form>
|
2010-05-18 10:29:32 +00:00
|
|
|
</field>
|
2010-07-13 09:05:09 +00:00
|
|
|
</record>
|
2010-05-18 10:29:32 +00:00
|
|
|
|
2010-07-13 09:05:09 +00:00
|
|
|
<record id="action_sale_order_make_invoice" model="ir.actions.act_window">
|
2010-07-13 07:09:55 +00:00
|
|
|
<field name="name">Make Invoices</field>
|
|
|
|
<field name="type">ir.actions.act_window</field>
|
|
|
|
<field name="res_model">sale.make.invoice</field>
|
|
|
|
<field name="view_type">form</field>
|
|
|
|
<field name="view_mode">form</field>
|
2010-09-28 11:46:24 +00:00
|
|
|
<field name="view_id" ref="view_sale_order_make_invoice"/>
|
2010-07-13 07:09:55 +00:00
|
|
|
<field name="target">new</field>
|
2010-10-15 16:53:15 +00:00
|
|
|
<field name="multi">True</field>
|
2010-07-13 07:09:55 +00:00
|
|
|
</record>
|
2012-06-09 20:31:27 +00:00
|
|
|
|
2010-09-28 11:46:24 +00:00
|
|
|
<record model="ir.values" id="sale_order_make_invoice">
|
|
|
|
<field name="model_id" ref="sale.model_sale_order" />
|
|
|
|
<field name="name">Make Invoices</field>
|
|
|
|
<field name="key2">client_action_multi</field>
|
|
|
|
<field name="value" eval="'ir.actions.act_window,' + str(ref('action_sale_order_make_invoice'))" />
|
|
|
|
<field name="key">action</field>
|
|
|
|
<field name="model">sale.order</field>
|
|
|
|
</record>
|
2010-05-18 10:29:32 +00:00
|
|
|
</data>
|
2010-10-12 10:39:32 +00:00
|
|
|
</openerp>
|