43 lines
1.6 KiB
XML
43 lines
1.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<openerp>
|
|
<data>
|
|
|
|
<!-- confirm order -->
|
|
|
|
<record id="view_lunch_order_confirm" model="ir.ui.view">
|
|
<field name="name">lunch.order.confirm.form</field>
|
|
<field name="model">lunch.order.confirm</field>
|
|
<field name="type">form</field>
|
|
<field name="arch" type="xml">
|
|
<form string="Confirm">
|
|
<group colspan="4" >
|
|
<separator string="Orders Confirmation" colspan="4"/>
|
|
<field name="confirm_cashbox"/>
|
|
<newline/>
|
|
</group>
|
|
<separator string="" colspan="4" />
|
|
<group colspan="4" col="6">
|
|
<button icon="gtk-cancel" special="cancel" string="Cancel"/>
|
|
<button icon="gtk-ok" name="confirm" string="Confirm Order" type="object"/>
|
|
</group>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="action_lunch_order_confirm" model="ir.actions.act_window">
|
|
<field name="name">Confirm Order</field>
|
|
<field name="res_model">lunch.order.confirm</field>
|
|
<field name="view_type">form</field>
|
|
<field name="view_mode">tree,form</field>
|
|
<field name="view_id" ref="view_lunch_order_confirm"/>
|
|
<field name="target">new</field>
|
|
</record>
|
|
|
|
<act_window id="action_lunch_order_confirm_values"
|
|
key2="client_action_multi" name="Confirm Order"
|
|
res_model="lunch.order.confirm" src_model="lunch.order"
|
|
view_mode="form" target="new" view_type="form"/>
|
|
|
|
</data>
|
|
</openerp>
|