diff options
| author | pankita shah (Open ERP) <shp@tinyerp.com> | 2012-10-19 10:27:23 +0530 |
|---|---|---|
| committer | pankita shah (Open ERP) <shp@tinyerp.com> | 2012-10-19 10:27:23 +0530 |
| commit | 1bb1b98a31dbbf6a67c2f3f15704fc7e18bad2bf (patch) | |
| tree | 094f6a1e9e4558932bf85135d93346661a24dec7 | |
| parent | 5cf77ecb5af36662b13bbf1d55304b0a711ee10e (diff) | |
[IMP] warning message replace is posterior to by comes before
bzr revid: shp@tinyerp.com-20121019045723-rt8fqmuk11vsgiak
| -rw-r--r-- | addons/hr_attendance/hr_attendance.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/hr_attendance/hr_attendance.py b/addons/hr_attendance/hr_attendance.py index 38364f478e7..49fd35c255b 100644 --- a/addons/hr_attendance/hr_attendance.py +++ b/addons/hr_attendance/hr_attendance.py @@ -159,9 +159,9 @@ class hr_employee(osv.osv): if not self._action_check(cr, uid, employee.id, action_date, context): if action == 'sign_out': - raise osv.except_osv(_('Warning'), _('You are trying to sign out for a date that is posterior to the starting date of the project. Please contact the HR Manager to correct attendances.')) + raise osv.except_osv(_('Warning'), _('You are trying to sign out for a date that comes before the starting date of the project. Please contact the HR Manager to correct attendances.')) elif action == 'action': - raise osv.except_osv(_('Warning'), _('You are trying to sign out and switch project for a date that is posterior to the starting date of the current project. Please contact the HR Manager to correct attendances.')) + raise osv.except_osv(_('Warning'), _('You are trying to sign out and switch project for a date that comes before the starting date of the current project. Please contact the HR Manager to correct attendances.')) vals = {'action': action, 'employee_id': employee.id} if action_date: |
