[FIX]should not show remaining qty on move when picking is done + better name for separator on picking view
bzr revid: csn@openerp.com-20140130163651-audc4ndjx4ysys3h
This commit is contained in:
@@ -1316,7 +1316,7 @@ class stock_move(osv.osv):
|
||||
if move.picking_id:
|
||||
if move.picking_id.state in ('draft', 'confirmed', 'partially_available'):
|
||||
info = info_available + info
|
||||
if move.picking_id.pack_operation_exist:
|
||||
if move.picking_id.pack_operation_exist and state != 'done':
|
||||
info += info_remaining
|
||||
res[move.id] = info
|
||||
return res
|
||||
|
||||
@@ -783,7 +783,7 @@
|
||||
</group>
|
||||
<notebook>
|
||||
<page string="Products">
|
||||
<separator string="Expected Quantities" attrs="{'invisible': [('pack_operation_exist', '=', False)]}"/>
|
||||
<separator string="Stock Moves" attrs="{'invisible': [('pack_operation_exist', '=', False)]}"/>
|
||||
<field name="move_lines" context="{'address_in_id': partner_id, 'form_view_ref':'stock.view_move_picking_form', 'tree_view_ref':'view_move_picking_tree', 'default_picking_type_id': picking_type_id,'default_picking_id': active_id}"/>
|
||||
<group>
|
||||
<group col="3">
|
||||
|
||||
Reference in New Issue
Block a user