[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 0e541c5c0f
commit 8dff5e3299

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