odoo/addons/mrp_repair/wizard/mrp_repair_make_invoice_views.xml

34 lines
1.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<!-- Make Invoice -->
<record id="view_make_invoice" model="ir.ui.view">
<field name="name">Make Invoice</field>
<field name="model">mrp.repair.make_invoice</field>
<field name="arch" type="xml">
<form string="Create invoices">
<group string="Do you really want to create the invoice(s)?">
<field name="group"/>
</group>
<footer>
<button name="make_invoices" string="Create Invoice" type="object" class="btn-primary"/>
<button string="Cancel" class="btn-default" special="cancel" />
</footer>
</form>
</field>
</record>
<act_window name="Create Invoice"
res_model="mrp.repair.make_invoice"
src_model="mrp.repair"
view_mode="form"
target="new"
key2="client_action_multi"
id="act_mrp_repair_invoice"
multi="True"/>
</data>
</odoo>