diff options
| author | Raphael Collet <rco@openerp.com> | 2012-04-27 09:29:13 +0200 |
|---|---|---|
| committer | Raphael Collet <rco@openerp.com> | 2012-04-27 09:29:13 +0200 |
| commit | d75f80e0e92d2ca7150786909fae4ebd0ce75ec2 (patch) | |
| tree | 193277dff78600bf132f0886c93298b5ae68746b | |
| parent | 41057fed107f52fba9f6fa72d26d822283890142 (diff) | |
[IMP] hr_holidays: improve English in error message
bzr revid: rco@openerp.com-20120427072913-fzjimxmt54poax6v
| -rw-r--r-- | addons/hr_holidays/hr_holidays.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/hr_holidays/hr_holidays.py b/addons/hr_holidays/hr_holidays.py index e7d968bf5ed..43d7202547c 100644 --- a/addons/hr_holidays/hr_holidays.py +++ b/addons/hr_holidays/hr_holidays.py @@ -351,7 +351,7 @@ class hr_holidays(osv.osv): if record.employee_id and not record.holiday_status_id.limit: leaves_rest = holi_status_obj.get_days( cr, uid, [record.holiday_status_id.id], record.employee_id.id, False)[record.holiday_status_id.id]['remaining_leaves'] if leaves_rest < record.number_of_days_temp: - raise osv.except_osv(_('Warning!'),_('There are no %s allocated for employee %s, Please create allocation request for this leave type.') % (record.holiday_status_id.name,record.employee_id.name)) + raise osv.except_osv(_('Warning!'), _('There are not enough %s allocated for employee %s; please create an allocation request for this leave type.') % (record.holiday_status_id.name, record.employee_id.name)) return True # ----------------------------- |
