Skip to content

Commit

Permalink
[FIX] rma: _check_move_partner compare with RMA commercial partner
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexPForgeFlow committed Nov 5, 2024
1 parent e60e71e commit 33d60cf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rma/models/rma_order_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
_(
Expand Down

0 comments on commit 33d60cf

Please sign in to comment.