diff --git a/rma/__manifest__.py b/rma/__manifest__.py index df7b0147..3b58598e 100644 --- a/rma/__manifest__.py +++ b/rma/__manifest__.py @@ -3,7 +3,7 @@ { "name": "Return Merchandise Authorization Management", "summary": "Return Merchandise Authorization (RMA)", - "version": "12.0.1.4.0", + "version": "12.0.1.4.1", "development_status": "Beta", "category": "RMA", "website": "https://github.com/OCA/rma", diff --git a/rma/models/rma.py b/rma/models/rma.py index 9c3887cd..924d3f54 100644 --- a/rma/models/rma.py +++ b/rma/models/rma.py @@ -573,7 +573,7 @@ class Rma(models.Model): invoice_form = Form(self.env['account.invoice'].with_context( default_type='out_refund', company_id=rmas[0].company_id.id, - )) + ), "account.invoice_form") rmas[0]._prepare_refund(invoice_form, origin) refund = invoice_form.save() for rma in rmas: