From 071594df53048ef0bbcf6d06d4a49bfec2e847af Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Sat, 28 Dec 2024 22:36:56 +0100 Subject: [PATCH] [FIX] account_cash_deposit: fix name_get() --- account_cash_deposit/models/account_cash_deposit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account_cash_deposit/models/account_cash_deposit.py b/account_cash_deposit/models/account_cash_deposit.py index 1785ace1f..9ed02a54a 100644 --- a/account_cash_deposit/models/account_cash_deposit.py +++ b/account_cash_deposit/models/account_cash_deposit.py @@ -264,7 +264,7 @@ class AccountCashDeposit(models.Model): ] ) for rec in self: - res.append((rec.id, " ".join([type2label[self.operation_type], self.name]))) + res.append((rec.id, " ".join([type2label[rec.operation_type], rec.name]))) return res def confirm_order(self):