[IMP]:improved view

bzr revid: apa@tinyerp.com-20120621125410-pedhf8ezay13skq5
This commit is contained in:
Amit Patel (OpenERP) 2012-06-21 18:24:10 +05:30
parent ca78cda005
commit 3d6b34222b
1 changed files with 19 additions and 15 deletions

View File

@ -52,13 +52,12 @@
<field name="name"/>
</h2>
<group col="4">
<group col="2">
<group>
<field name="partner_id" on_change="onchange_partner_id(partner_id,address_id)" attrs="{'required':[('invoice_method','!=','none')]}"/>
<field name="address_id" attrs="{'readonly':[('deliver_bool','=', False)]}" groups="sale.group_delivery_invoice_address"/>
<field name="move_id" on_change="onchange_move_id(product_id, move_id)" context="{'default_product_id':product_id}"/>
</group>
<group col="2">
<field name="location_id" attrs="{'readonly':[('deliver_bool','=', False)], 'required':[('deliver_bool','=', True)]}"/>
<group>
<field name="prodlot_id" on_change="onchange_lot_id(prodlot_id,product_id)"/>
<field name="guarantee_limit"/>
<field name="deliver_bool" groups="base.group_no_one"/>
@ -66,6 +65,9 @@
<field name="invoiced" groups="base.group_no_one"/>
</group>
</group>
<group string="Manage Multiple Locations and Warehouses" col="2">
<field name="location_id" attrs="{'readonly':[('deliver_bool','=', False)], 'required':[('deliver_bool','=', True)]}"/>
</group>
<notebook>
<page string="Operations">
<group col="4">
@ -80,11 +82,7 @@
<group col="4">
<field name="name"/>
<field name="product_id" on_change="product_id_change(parent.pricelist_id,product_id,product_uom,product_uom_qty, parent.partner_id)"/>
<label for="product_uom_qty"/>
<div>
<field name="product_uom_qty" class="oe_inline"/>
<field name="product_uom" class="oe_inline"/>
</div>
<field name="product_uom_qty"/>
<field name="price_unit"/>
<field name="price_subtotal"/>
<field name="type" on_change="onchange_operation_type(type,parent.guarantee_limit,parent.company_id,context)"/>
@ -100,9 +98,16 @@
<field name="location_id"/>
<field name="location_dest_id"/>
</group>
</group>
<group col="4">
<group string="Manage Multiple Unit of Measure">
<field name="product_uom"/>
</group>
<group string="State">
<field name="state"/>
</group>
</group>
<separator colspan="4" string="States"/>
<field name="state"/>
</page>
<page string="History">
<group>
@ -148,17 +153,16 @@
<group col="4">
<field name='name'/>
<field name="product_id" on_change="product_id_change(parent.pricelist_id,product_id,product_uom,product_uom_qty, parent.partner_id,parent.guarantee_limit)"/>
<label for="product_uom_qty"/>
<div>
<field name="product_uom_qty" class="oe_inline" string="Quantity"/>
<field name="product_uom" class="oe_inline"/>
</div>
<field name="product_uom_qty" string="Quantity"/>
<field name="price_unit"/>
<field name="price_subtotal"/>
<field name="to_invoice"/>
<field name="invoiced"/>
<field widget="many2many_tags" name="tax_id" domain="[('parent_id','=',False),('type_tax_use','&lt;&gt;','purchase')]"/>
</group>
<group string="Manage Multiple Unit of Measure" col="2">
<field name="product_uom"/>
</group>
</page>
<page string="History">
<field name="invoice_line_id" />