31 lines
1.3 KiB
XML
31 lines
1.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<openerp>
|
|
<data>
|
|
<record model="ir.ui.view" id="order_order_lines_view">
|
|
<field name="name">Order meal</field>
|
|
<field name="model">lunch.order.order</field>
|
|
<field name="arch" type="xml">
|
|
<form string="Order meal" version="7.0">
|
|
<separator string="Are you sure you want to order these meals?"/>
|
|
<p class="oe_grey">
|
|
Order a meal doesn't mean that we have to pay it.
|
|
A meal should be paid when it is received.
|
|
</p>
|
|
<footer>
|
|
<button name="order" string="Order Meals" type="object" class="oe_highlight"/>
|
|
or
|
|
<button name="cancel" string="Cancel" class="oe_link" special="cancel" />
|
|
</footer>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
|
|
<act_window id="order_order_lines"
|
|
multi="True"
|
|
key2="client_action_multi" name="Order meals"
|
|
res_model="lunch.order.order" src_model="lunch.order.line"
|
|
view_mode="form" target="new" view_type="form" view_id="order_order_lines_view"/>
|
|
|
|
</data>
|
|
</openerp>
|