@@ -113,7 +113,7 @@ class YuthonVacationReports(models.Model):
|
||||
default='not_sent')
|
||||
|
||||
@api.depends('vacation_date', 'employee_id')
|
||||
def compute_number_card(self):
|
||||
def _compute_number_card(self):
|
||||
for record in self:
|
||||
count = 0
|
||||
if not record.employee_id or not record.vacation_date:
|
||||
|
||||
Reference in New Issue
Block a user