diff --git a/rma/models/rma_order_line.py b/rma/models/rma_order_line.py index eb66256d2..fd53d9ae5 100644 --- a/rma/models/rma_order_line.py +++ b/rma/models/rma_order_line.py @@ -622,7 +622,8 @@ def _check_move_partner(self): for rec in self: if ( rec.reference_move_id - and rec.reference_move_id.picking_id.partner_id != rec.partner_id + and rec.reference_move_id.picking_id.partner_id.commercial_partner_id + != rec.partner_id.commercial_partner_id ): raise ValidationError( _(