[IMP] apply group in sale_layout
bzr revid: tpa@tinyerp.com-20120307120559-i364mzp6txkttqtb
This commit is contained in:
parent
f829ac178b
commit
79cb54fa51
|
@ -37,6 +37,7 @@
|
|||
on_change="product_id_change(parent.pricelist_id,product_id,product_uom_qty,product_uom,product_uos_qty,product_uos,name,parent.partner_id, False, False, parent.date_order, product_packaging, parent.fiscal_position, True, context)"/>
|
||||
<field name="product_uom"
|
||||
nolabel="1"
|
||||
groups="base.group_sale_uom_per_product"
|
||||
required="0"
|
||||
attrs="{'invisible':[('layout_type','!=','article')], 'required':[('layout_type','not in',['title','text','subtotal','line','break'])]}"
|
||||
on_change="product_uom_change(parent.pricelist_id,product_id,product_uom_qty,product_uom,product_uos_qty,product_uos,name,parent.partner_id, False, False, parent.date_order, context)"/>
|
||||
|
@ -99,7 +100,7 @@
|
|||
<tree string="Sales order lines">
|
||||
<field colspan="4" name="name"/>
|
||||
<field name="product_uom_qty" string="Qty"/>
|
||||
<field name="product_uom" string="UoM"/>
|
||||
<field name="product_uom" string="UoM" groups="base.group_sale_uom_per_product"/>
|
||||
<field name="discount"/>
|
||||
<field name="price_unit"/>
|
||||
<!-- field name="price_net"/-->
|
||||
|
|
Loading…
Reference in New Issue