Merge pull request #179 from ForgeFlow/13.0-rma_account-journal-name

[13.0][IMP] rma_account: do not force the refund invoice number to be the rma number
This commit is contained in:
Jordi Ballester Alomar
2021-09-03 09:56:23 +02:00
committed by GitHub

View File

@@ -134,7 +134,6 @@ class RmaRefund(models.TransientModel):
[("type", "=", "purchase")], limit=1
)
values = {
"name": rma_line.rma_id.name or rma_line.name,
"invoice_payment_ref": rma_line.rma_id.name or rma_line.name,
"invoice_origin": rma_line.rma_id.name or rma_line.name,
"ref": False,