[FIX] account_cash_deposit: fix name_get()

This commit is contained in:
Alexis de Lattre
2024-12-28 22:36:56 +01:00
parent a651a68cd9
commit 071594df53

View File

@@ -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):