From 46321f34331e9b8e7d88b1d50969cf4d0edee18d Mon Sep 17 00:00:00 2001 From: jordan <jordan@le-filament.com> Date: Wed, 17 Feb 2021 18:27:50 +0100 Subject: [PATCH] [update] overrid wizard refund to get specific values --- wizard/account_invoice_refund.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wizard/account_invoice_refund.py b/wizard/account_invoice_refund.py index 78ba1ab..d044cf8 100644 --- a/wizard/account_invoice_refund.py +++ b/wizard/account_invoice_refund.py @@ -20,6 +20,6 @@ class ContributionAccountInvoiceRefund(models.TransientModel): refund.update({ 'year': inv.year, 'is_contribution': inv.is_contribution, + 'type_contribution_id': inv.type_contribution_id.id, }) return refund - -- GitLab