[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
parent 7c307c8d3d
commit 84853a187e

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"]