[14.0][FIX] rma: separate stock.move by rma_line_id to fix picking association

This commit is contained in:
Christopher Ormaza
2022-03-03 11:53:14 -05:00
committed by JasminSForgeFlow
parent 2c01d28d87
commit 5690c91b2c

View File

@@ -99,3 +99,8 @@ class StockMove(models.Model):
owner_id=owner_id,
strict=strict,
)
@api.model
def _prepare_merge_moves_distinct_fields(self):
res = super()._prepare_merge_moves_distinct_fields()
return res + ["rma_line_id"]