odoo/addons/lunch/wizard/lunch_validation_view.xml

30 lines
1.1 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="arch" type="xml">
<form string="validate order lines" version="7.0">
<separator string="Did your received these meals?"/>
<p class="oe_grey">
Once a meal is received a new cash move is created for the employee.
</p>
<footer>
<button name="confirm" string="Receive Meals" 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="Receive meals"
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>