mirror of
https://github.com/OCA/stock-logistics-reporting.git
synced 2025-02-16 17:13:21 +02:00
[FIX] s_p_group_by_: fix _get_sorted_moves by calling super()
This commit is contained in:
@@ -8,8 +8,8 @@ class StockPicking(models.Model):
|
||||
_inherit = "stock.picking"
|
||||
|
||||
def _get_sorted_moves(self):
|
||||
self.ensure_one()
|
||||
return self.move_lines.sorted(
|
||||
moves = super()._get_sorted_moves()
|
||||
return moves.sorted(
|
||||
lambda m: m.sale_line_id.order_id.id * 1000 + m.sale_line_id.position
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user