From 84d45f000cb63599e020b894972aaf66918c1ebf Mon Sep 17 00:00:00 2001 From: Facundo Barral <facundo.barral@eynes.com.ar> Date: Wed, 14 Feb 2024 11:36:45 -0300 Subject: [PATCH] [FIX] Wrong decorator on name_get --- models/hr_employee_loans.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/hr_employee_loans.py b/models/hr_employee_loans.py index 3a266b4..4fd4536 100644 --- a/models/hr_employee_loans.py +++ b/models/hr_employee_loans.py @@ -79,7 +79,7 @@ class HREmployeeLoans(models.Model): last_day = date.replace(day=calendar.monthrange(date.year, date.month)[1]) return first_day, last_day - @api.model + @api.multi def name_get(self): res = [] for record in self: -- GitLab