mirror of
https://github.com/ForgeFlow/stock-rma.git
synced 2025-01-21 12:57:49 +02:00
[16.0][IMP] rma_account: consider rma delivery address when creating a refund
This commit is contained in:
committed by
Aaron ForgeFlow
parent
b88bb516da
commit
047e813509
@@ -172,6 +172,8 @@ class RmaRefund(models.TransientModel):
|
||||
"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
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user