mirror of
https://github.com/OCA/rma.git
synced 2025-02-16 17:11:47 +02:00
[FIX] rma: linked replacement moves
It's useless to link the replacement moves and the side effect is that we can't make a proper reservation as the move stays in `waiting` state forever because the origin move (the reception one) is already done. TT42739
This commit is contained in:
@@ -1135,7 +1135,6 @@ class Rma(models.Model):
|
||||
moves_before = self.delivery_move_ids
|
||||
self._action_launch_stock_rule(scheduled_date, warehouse, product, qty, uom)
|
||||
new_moves = self.delivery_move_ids - moves_before
|
||||
self.reception_move_id.move_dest_ids += new_moves
|
||||
body = ""
|
||||
# The product replacement could explode into several moves like in the case of
|
||||
# MRP BoM Kits
|
||||
|
||||
Reference in New Issue
Block a user