diff --git a/addons/product/product_view.xml b/addons/product/product_view.xml index e785e8d1fb3..610fe9b4e15 100644 --- a/addons/product/product_view.xml +++ b/addons/product/product_view.xml @@ -106,10 +106,10 @@ - - - - + + + + diff --git a/addons/stock/product_view.xml b/addons/stock/product_view.xml index df89820ff6d..3ef1e744245 100644 --- a/addons/stock/product_view.xml +++ b/addons/stock/product_view.xml @@ -134,10 +134,10 @@ - - - - + + + + diff --git a/addons/stock/res_config.py b/addons/stock/res_config.py index 73a3db67608..b0c9088e051 100644 --- a/addons/stock/res_config.py +++ b/addons/stock/res_config.py @@ -94,7 +94,7 @@ This installs the module product_expiry."""), help="""This allows you to assign a lot (or serial number) to the pickings and moves. This can make it possible to know which production lot was sent to a certain client, ..."""), 'group_stock_tracking_lot': fields.boolean("Use packages: pallets, boxes, ...", implied_group='stock.group_tracking_lot', - help="""This allows you to manage products by using serial numbers. When you select a serial number on product moves, you can get the traceability of that product."""), + help="""This allows to manipulate packages. You can put something in, take something from a package, but also move entire packages and put them even in another package. """), 'group_stock_tracking_owner': fields.boolean("Manage owner on stock", implied_group='stock.group_tracking_owner', help="""This way you can receive products attributed to a certain owner. """), diff --git a/addons/stock/stock.py b/addons/stock/stock.py index 0618a998f03..68f1e342554 100644 --- a/addons/stock/stock.py +++ b/addons/stock/stock.py @@ -785,7 +785,7 @@ class stock_picking(osv.osv): store={'stock.move': (_get_pickings, ['date_expected'], 20)}, type='datetime', states={'done': [('readonly', True)], 'cancel': [('readonly', True)]}, string='Scheduled Date', select=1, help="Scheduled time for the first part of the shipment to be processed. Setting manually a value here would set it as expected date for all the stock moves.", track_visibility='onchange'), 'max_date': fields.function(get_min_max_date, multi="min_max_date", store={'stock.move': (_get_pickings, ['date_expected'], 20)}, type='datetime', string='Max. Expected Date', select=2, help="Scheduled time for the last part of the shipment to be processed"), - 'date': fields.datetime('Commitment Date', help="Date promised for the completion of the transfer order, usually set the time of the order and revised later on.", select=True, states={'done': [('readonly', True)], 'cancel': [('readonly', True)]}, track_visibility='onchange'), + 'date': fields.datetime('Creation Date', help="Creation Date, usually the time of the order", select=True, states={'done': [('readonly', True)], 'cancel': [('readonly', True)]}, track_visibility='onchange'), 'date_done': fields.datetime('Date of Transfer', help="Date of Completion", states={'done': [('readonly', True)], 'cancel': [('readonly', True)]}, copy=False), 'move_lines': fields.one2many('stock.move', 'picking_id', 'Internal Moves', states={'done': [('readonly', True)], 'cancel': [('readonly', True)]}, copy=True), 'quant_reserved_exist': fields.function(_get_quant_reserved_exist, type='boolean', string='Quant already reserved ?', help='technical field used to know if there is already at least one quant reserved on moves of a given picking'), @@ -1333,8 +1333,9 @@ class stock_picking(osv.osv): todo_move_ids.append(move.id) #Assign move as it was assigned before toassign_move_ids.append(new_move) - if (need_rereserve or not all_op_processed) and not picking.location_id.usage in ("supplier", "production", "inventory"): - self.rereserve_quants(cr, uid, picking, move_ids=todo_move_ids, context=context) + if need_rereserve or not all_op_processed: + if not picking.location_id.usage in ("supplier", "production", "inventory"): + self.rereserve_quants(cr, uid, picking, move_ids=todo_move_ids, context=context) self.do_recompute_remaining_quantities(cr, uid, [picking.id], context=context) if todo_move_ids and not context.get('do_only_split'): self.pool.get('stock.move').action_done(cr, uid, todo_move_ids, context=context) diff --git a/addons/stock/stock_view.xml b/addons/stock/stock_view.xml index 8d63e194dcd..79d5aa1f69e 100644 --- a/addons/stock/stock_view.xml +++ b/addons/stock/stock_view.xml @@ -14,7 +14,6 @@ parent="stock.menu_stock_product" sequence="0" groups="base.group_no_one"/> - stock.picking.tree stock.picking - + + @@ -732,7 +732,7 @@ - + @@ -925,13 +925,15 @@