Skip to content

Commit

Permalink
[16.0][IMP] rma_account: consider rma delivery address when creating …
Browse files Browse the repository at this point in the history
…a refund
  • Loading branch information
AlexPForgeFlow authored and AaronHForgeFlow committed Aug 21, 2024
1 parent b88bb51 commit 047e813
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rma_account/wizards/rma_refund.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,8 @@ def _prepare_refund(self, wizard, rma_line):
"date": wizard.date,
"invoice_date": wizard.date_invoice,
"partner_id": rma_line.invoice_address_id.id or rma_line.partner_id.id,
"partner_shipping_id": rma_line.delivery_address_id.id
or rma_line.partner_id.id,
"invoice_line_ids": [
(0, None, self.prepare_refund_line(item)) for item in self.item_ids
],
Expand Down

0 comments on commit 047e813

Please sign in to comment.