[IMP]: lunch: Improvement in view

bzr revid: rpa@tinyerp.com-20110607055208-oao9gnlq5bn9oje7
This commit is contained in:
Rucha (Open ERP) 2011-06-07 11:22:08 +05:30
parent 8a12233a50
commit 77f68a7e8d
1 changed files with 12 additions and 16 deletions

View File

@ -24,24 +24,20 @@
<field name="model">lunch.order</field>
<field name="arch" type="xml">
<form string="Order">
<group colspan="4" col="4">
<field name="user_id" select="1"/>
<field name="date" select="1"/>
<field name="product" select="1" on_change="onchange_product(product)"/>
<field name="category"/>
<field name="descript"/>
<field name="price"/>
<field name="cashmove"/>
<newline/>
<field name="state" />
<button name="%(action_lunch_order_confirm)d" string="Confirm Order" type="action" icon="gtk-ok" attrs="{'invisible':[('state','=','confirmed')]}" />
<field name="user_id" select="1"/>
<field name="date" select="1"/>
<field name="product" select="1" on_change="onchange_product(product)"/>
<field name="category"/>
<field name="descript"/>
<field name="price"/>
<field name="cashmove"/>
<newline/>
<separator string="" colspan="4"/>
<group colspan="4" col="4">
<field name="state"/>
<button name="%(action_lunch_order_confirm)d" string="Confirm Order" type="action" icon="gtk-ok" attrs="{'invisible':[('state','=','confirmed')]}"/>
<button name="%(action_lunch_order_cancel)d" string="Cancel Order" type="action" icon="gtk-cancel"/>
</group>
<!--group colspan="4" col="8">
<field name="state" colspan="4"/>
<button name="%(action_lunch_order_confirm)d" string="Confirm Order" type="action" icon="gtk-ok" attrs="{'invisible':[('state','=','confirmed')]}" colspan="2" />
<button name="%(action_lunch_order_cancel)d" string="Cancel Order" type="action" icon="gtk-cancel" colspan="2"/>
</group-->
</form>
</field>
</record>