diff --git a/addons/stock/models/stock_move_line.py b/addons/stock/models/stock_move_line.py index 53d084a939c..4c27864777d 100644 --- a/addons/stock/models/stock_move_line.py +++ b/addons/stock/models/stock_move_line.py @@ -14,7 +14,7 @@ class StockMoveLine(models.Model): _name = "stock.move.line" _description = "Product Moves (Stock Move Line)" _rec_name = "product_id" - _order = "result_package_id desc, id" + _order = "result_package_id desc, location_id asc, location_dest_id asc, picking_id asc, id" picking_id = fields.Many2one( 'stock.picking', 'Transfer', auto_join=True, diff --git a/addons/stock/report/report_stockpicking_operations.xml b/addons/stock/report/report_stockpicking_operations.xml index 0a4cde56a45..9c20777ec08 100644 --- a/addons/stock/report/report_stockpicking_operations.xml +++ b/addons/stock/report/report_stockpicking_operations.xml @@ -84,48 +84,44 @@
-| Product | -Quantity | -To | -Transfer | -- Lot/Serial Number - | -- Product Barcode - | -- Package - | -
|---|---|---|---|---|---|---|
| Product | +Quantity | +Transfer | ++ Lot/Serial Number + | ++ Product Barcode + | ++ Package + | +
|---|---|---|---|---|---|
|
+ FROM + +TO + + |
+ |||||
| @@ -94,9 +100,6 @@ | -- - | @@ -111,14 +114,13 @@ |
|
||