From 43137981de293569f78748abf8da3dd5850146d0 Mon Sep 17 00:00:00 2001 From: Jordi Ballester Date: Thu, 2 Sep 2021 19:00:52 +0200 Subject: [PATCH] [rma_account][imp] do not force the refund invoice number to be the RMA number. This would cause duplicates in the numbering of journal entries. Was a bad idea in the first place. --- rma_account/wizards/rma_refund.py | 1 - 1 file changed, 1 deletion(-) diff --git a/rma_account/wizards/rma_refund.py b/rma_account/wizards/rma_refund.py index cd1af2ec..f5e1799f 100644 --- a/rma_account/wizards/rma_refund.py +++ b/rma_account/wizards/rma_refund.py @@ -139,7 +139,6 @@ class RmaRefund(models.TransientModel): [("type", "=", "purchase")], limit=1 ) values = { - "name": rma_line.rma_id.name or rma_line.name, "payment_reference": rma_line.rma_id.name or rma_line.name, "invoice_origin": rma_line.rma_id.name or rma_line.name, "ref": False,