[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.
This commit is contained in:
Jordi Ballester
2021-09-02 19:00:52 +02:00
committed by Lois Rilo
parent 42ff958ace
commit 19092316ff

View File

@@ -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,