odoo/addons/lunch/wizard/lunch_validation_view.xml

35 lines
1.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<record model="ir.ui.view" id="validate_order_lines_view">
<field name="name">validate order lines</field>
<field name="model">lunch.validation</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="validate order lines" version="7.0">
<group>
<separator string="Are you sure you want to confirm these orders?"/>
<label string="Please note that: " colspan="4"/>
<label string="--------------------------" colspan="4"/>
<label string="Orders will only be confirmed if: " colspan="4"/>
<label string=" * Orders aren't already in the confirmed state" colspan="4"/>
<label string=" * Orders aren't in the cancelled state" colspan="4"/>
</group>
<footer>
<button name="confirm" string="Confirm Orders" type="object" class="oe_highlight"/>
or
<button name="cancel" string="Cancel" class="oe_link" special="cancel" />
</footer>
</form>
</field>
</record>
<act_window id="validate_order_lines"
multi="True"
key2="client_action_multi" name="Confirm"
res_model="lunch.validation" src_model="lunch.order.line"
view_mode="form" target="new" view_type="form" view_id="validate_order_lines_view"/>
</data>
</openerp>