[IMP]:lunch:improved view

bzr revid: apa@tinyerp.com-20120702072842-boch3po931wc8czx
This commit is contained in:
Amit Patel (OpenERP) 2012-07-02 12:58:42 +05:30
parent e094d06929
commit 7d90e49560
1 changed files with 34 additions and 27 deletions

View File

@ -109,10 +109,12 @@
<field name="model">lunch.cashbox</field> <field name="model">lunch.cashbox</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Cashboxes" version="7.0"> <form string="Cashboxes" version="7.0">
<group> <sheet>
<field name="name"/> <group>
<field name="manager"/> <field name="name"/>
</group> <field name="manager"/>
</group>
</sheet>
</form> </form>
</field> </field>
</record> </record>
@ -151,14 +153,16 @@
<field name="model">lunch.cashmove</field> <field name="model">lunch.cashmove</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="CashMove" version="7.0"> <form string="CashMove" version="7.0">
<group col="4"> <sheet>
<field name="name"/> <group col="4">
<field name="user_cashmove"/> <field name="name"/>
<field name="amount"/> <field name="user_cashmove"/>
<field name="box"/> <field name="amount"/>
<field name="create_date"/> <field name="box"/>
<field name="active"/> <field name="create_date"/>
</group> <field name="active"/>
</group>
</sheet>
</form> </form>
</field> </field>
</record> </record>
@ -222,9 +226,11 @@
<field name="model">lunch.category</field> <field name="model">lunch.category</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Category" version="7.0"> <form string="Category" version="7.0">
<group col="4"> <sheet>
<field name="name"/> <group col="4">
</group> <field name="name"/>
</group>
</sheet>
</form> </form>
</field> </field>
</record> </record>
@ -257,18 +263,19 @@
<field name="model">lunch.product</field> <field name="model">lunch.product</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Products" version="7.0"> <form string="Products" version="7.0">
<group> <sheet>
<group> <group>
<field name="name"/> <group>
<field name="category_id"/> <field name="name"/>
<field name="price" /> <field name="category_id"/>
</group> <field name="price" />
<group> </group>
<field name="active"/> <group>
</group> <field name="active"/>
<field name="description" placeholder="Add a description" nolabel="1"/> </group>
</group> <field name="description" placeholder="Add a description" nolabel="1" colspan="4"/>
</group>
</sheet>
</form> </form>
</field> </field>
</record> </record>