[IMP]stock :production lot info should be hidden if user does not have extended view

bzr revid: sbh@tinyerp.com-20100922064527-3ddi9ul6gcngodsa
This commit is contained in:
sbh (Open ERP)
2010-09-22 12:15:27 +05:30
parent e32b992d2b
commit c4712a8dd4
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -104,7 +104,7 @@ class stock_partial_move(osv.osv_memory):
<field name="move%s_product_id" nolabel="1"/>
<field name="move%s_product_qty" string="Qty" />
<field name="move%s_product_uom" nolabel="1" />
<field name="move%s_prodlot_id" />
<field name="move%s_prodlot_id" groups="base.group_extended" />
"""%(m.id, m.id, m.id,m.id)
if (m.picking_id.type == 'in') and (m.product_id.cost_method == 'average'):
_moves_fields.update({
+1 -1
View File
@@ -105,7 +105,7 @@ class stock_partial_picking(osv.osv_memory):
<field name="move%s_product_id" nolabel="1"/>
<field name="move%s_product_qty" string="Qty" />
<field name="move%s_product_uom" nolabel="1" />
<field name="move%s_prodlot_id" />
<field name="move%s_prodlot_id" groups="base.group_extended" />
"""%(m.id, m.id, m.id, m.id)
if (m.product_id.cost_method == 'average'):
_moves_fields.update({