Skip to content

Commit

Permalink
[FIX] takes invoice and delivery address when creating a rma from a s…
Browse files Browse the repository at this point in the history
…ale order
  • Loading branch information
florian-dacosta authored and AaronHForgeFlow committed Aug 8, 2024
1 parent c2fa2bf commit 4ef3e24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rma_sale/wizards/rma_add_sale.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ def _prepare_rma_line_from_sale_order_line(self, line, lot=None):
"uom_id": line.product_uom.id,
"operation_id": operation.id,
"product_qty": product_qty,
"delivery_address_id": self.sale_id.partner_id.id,
"invoice_address_id": self.sale_id.partner_id.id,
"delivery_address_id": self.sale_id.partner_shipping_id.id,
"invoice_address_id": self.sale_id.partner_invoice_id.id,
"price_unit": line.currency_id._convert(
line.price_unit,
line.currency_id,
Expand Down

0 comments on commit 4ef3e24

Please sign in to comment.