2010-04-06 09:01:01 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<openerp>
|
|
|
|
<data>
|
2012-06-09 19:49:46 +00:00
|
|
|
|
2010-04-06 09:01:01 +00:00
|
|
|
<!-- Make the invoice-->
|
2012-06-09 19:49:46 +00:00
|
|
|
|
|
|
|
<record id="view_purchase_line_invoice" model="ir.ui.view">
|
2010-05-14 12:20:18 +00:00
|
|
|
<field name="name">Create invoices</field>
|
2010-04-06 09:01:01 +00:00
|
|
|
<field name="model">purchase.order.line_invoice</field>
|
|
|
|
<field name="arch" type="xml">
|
2012-12-21 16:48:08 +00:00
|
|
|
<form string="Select an Open Sales Order" version="7.0">
|
2012-06-19 08:45:32 +00:00
|
|
|
<group>
|
|
|
|
<label string="Do you want to generate the supplier invoices?"/>
|
|
|
|
</group>
|
2012-07-10 16:40:11 +00:00
|
|
|
<footer>
|
|
|
|
<button name="makeInvoices" string="Confirm" type="object" class="oe_highlight"/>
|
|
|
|
or
|
|
|
|
<button string="Cancel" class="oe_link" special="cancel" />
|
|
|
|
</footer>
|
2010-04-06 09:01:01 +00:00
|
|
|
</form>
|
|
|
|
</field>
|
|
|
|
</record>
|
|
|
|
|
2012-06-09 19:49:46 +00:00
|
|
|
<act_window name="Create invoices"
|
|
|
|
res_model="purchase.order.line_invoice"
|
|
|
|
src_model="purchase.order.line"
|
|
|
|
view_mode="form"
|
|
|
|
target="new"
|
|
|
|
key2="client_action_multi"
|
|
|
|
id="action_view_purchase_line_invoice"/>
|
|
|
|
</data>
|
|
|
|
</openerp>
|
|
|
|
|