From 5f6a6df5d818d3a6c9a4a5263e5faa693e5c2936 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 b4347fc4..b804d3ec 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,