From d6c7f2e28e7d45d65708e0e7071889a3dd196ebe Mon Sep 17 00:00:00 2001
From: jordan <jordan@le-filament.com>
Date: Wed, 3 Mar 2021 15:19:58 +0100
Subject: [PATCH] [update] add payment_term_id on refund

---
 wizard/account_invoice_refund.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/wizard/account_invoice_refund.py b/wizard/account_invoice_refund.py
index d044cf8..ecbcf3e 100644
--- a/wizard/account_invoice_refund.py
+++ b/wizard/account_invoice_refund.py
@@ -21,5 +21,6 @@ class ContributionAccountInvoiceRefund(models.TransientModel):
             'year': inv.year,
             'is_contribution': inv.is_contribution,
             'type_contribution_id': inv.type_contribution_id.id,
+            'payment_term_id': inv.payment_term_id.id,
         })
         return refund
-- 
GitLab