mirror of
https://github.com/OCA/rma.git
synced 2025-02-16 17:11:47 +02:00
[FIX] Do not link reception and delivery move in case of RMA replacement
This commit is contained in:
committed by
Víctor Martínez
parent
e2dd2799e5
commit
79d0fcff45
@@ -1164,7 +1164,6 @@ class Rma(models.Model):
|
||||
self._action_launch_stock_rule(scheduled_date, warehouse, product, qty, uom)
|
||||
new_move = self.delivery_move_ids - moves_before
|
||||
if new_move:
|
||||
self.reception_move_id.move_dest_ids = [(4, new_move.id)]
|
||||
self.message_post(
|
||||
body=_(
|
||||
"Replacement: "
|
||||
|
||||
Reference in New Issue
Block a user