From 1f1e0d628b5fc1de49fb36f3d1c37b57a22a5b95 Mon Sep 17 00:00:00 2001 From: Enric Tobella Date: Tue, 15 Oct 2024 12:32:48 +0200 Subject: [PATCH] [FIX] account_loan: Set name on line in order to make it compatible with assets --- account_loan/wizard/account_loan_post.py | 1 + 1 file changed, 1 insertion(+) diff --git a/account_loan/wizard/account_loan_post.py b/account_loan/wizard/account_loan_post.py index 3c95068f437..3d44652ccb4 100644 --- a/account_loan/wizard/account_loan_post.py +++ b/account_loan/wizard/account_loan_post.py @@ -45,6 +45,7 @@ def move_line_vals(self): res.append( { "account_id": self.account_id.id, + "name": self.loan_id.name, "partner_id": partner.id, "credit": 0, "debit": line.pending_principal_amount,