tomorrow = datetime.date.today() + datetime.timedelta(days=1)
result = ''
emps = env['hr.employee'].search([('employee_status.code','=','active')])
result = ''
for emp in emps:
if emp.person_id.date_of_birth and emp.person_id.date_of_birth.month==tomorrow.month and emp.person_id.date_of_birth.day==tomorrow.day:
result = emp.name';'
tomorrow = datetime.date.today() + datetime.timedelta(days=1)
result = ''
emps = env ['hr.employee'] .search( [('employee_status.code','=','active')] )
result = ''
for emp in emps:
if emp.person_id.date_of_birth and emp.person_id.date_of_birth.month==tomorrow.month and emp.person_id.date_of_birth.day==tomorrow.day:
result = emp.name ';'