diff options
| author | Christophe Simonis <chs@odoo.com> | 2018-11-05 17:51:04 +0100 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2018-11-05 17:51:04 +0100 |
| commit | f66a9cdbcf3a9e9cd4afb8abc249ddd23e1b7085 (patch) | |
| tree | ab6a1f6d6b5a3b97719e528568f84edcdd65138d /addons/hr_attendance/models | |
| parent | ba239e4cacf468705b012c68fb3b96ba400a0030 (diff) | |
| parent | bab5ccfdd7bd2138eb41db325981dc47641678f9 (diff) | |
[MERGE] forward port branch 11.0 up to bab5ccfdd7b
Diffstat (limited to 'addons/hr_attendance/models')
| -rw-r--r-- | addons/hr_attendance/models/hr_employee.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/hr_attendance/models/hr_employee.py b/addons/hr_attendance/models/hr_employee.py index e0cec9681bc..83e44105c00 100644 --- a/addons/hr_attendance/models/hr_employee.py +++ b/addons/hr_attendance/models/hr_employee.py @@ -90,6 +90,7 @@ class HrEmployee(models.Model): action_message = self.env.ref('hr_attendance.hr_attendance_action_greeting_message').read()[0] action_message['previous_attendance_change_date'] = self.last_attendance_id and (self.last_attendance_id.check_out or self.last_attendance_id.check_in) or False action_message['employee_name'] = self.name + action_message['barcode'] = self.barcode action_message['next_action'] = next_action if self.user_id: |
