projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27226c1
)
[IMP]hr-warning-message
author
Pinakin Nayi (OpenERP)
<pna@tinyerp.com>
Fri, 13 Jul 2012 08:45:10 +0000
(14:15 +0530)
committer
Pinakin Nayi (OpenERP)
<pna@tinyerp.com>
Fri, 13 Jul 2012 08:45:10 +0000
(14:15 +0530)
bzr revid: pna@tinyerp.com-
20120713084510
-vh2wjwr7w23qoyuv
addons/hr_holidays/hr_holidays.py
patch
|
blob
|
history
diff --git
a/addons/hr_holidays/hr_holidays.py
b/addons/hr_holidays/hr_holidays.py
index
2a2648f
..
2ed5a04
100644
(file)
--- a/
addons/hr_holidays/hr_holidays.py
+++ b/
addons/hr_holidays/hr_holidays.py
@@
-202,7
+202,7
@@
class hr_holidays(osv.osv):
def unlink(self, cr, uid, ids, context=None):
for rec in self.browse(cr, uid, ids, context=context):
if rec.state<>'draft':
- raise osv.except_osv(_('Warning!'),_('You cannot delete a leave which is not in draft status !'))
+ raise osv.except_osv(_('Warning!'),_('You cannot delete a leave, because it\'s not in draft state !'))
return super(hr_holidays, self).unlink(cr, uid, ids, context)
def onchange_date_from(self, cr, uid, ids, date_to, date_from):