Skip to content

Commit

Permalink
[FIX] rma: _check_move_partner compare with RMA customer delivery add…
Browse files Browse the repository at this point in the history
…ress
  • Loading branch information
AlexPForgeFlow committed Nov 5, 2024
1 parent e60e71e commit c00997e
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.commercial_partner_id
):
raise ValidationError(
_(
Expand Down

0 comments on commit c00997e

Please sign in to comment.