openerp-dev-web team mailing list archive
-
openerp-dev-web team
-
Mailing list archive
-
Message #05438
[Merge] lp:~openerp-dev/openobject-addons/trunk-bug-holidays_state-mra into lp:~openerp-dev/openobject-addons/trunk-bugfixes-Ind
Mustufa Rangwala (Open ERP) has proposed merging lp:~openerp-dev/openobject-addons/trunk-bug-holidays_state-mra into lp:~openerp-dev/openobject-addons/trunk-bugfixes-Ind.
Requested reviews:
OpenERP R&D Team (openerp-dev)
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-holidays_state-mra/+merge/57651
Improved help tooltips on holidays.
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-holidays_state-mra/+merge/57651
Your team OpenERP R&D Team is requested to review the proposed merge of lp:~openerp-dev/openobject-addons/trunk-bug-holidays_state-mra into lp:~openerp-dev/openobject-addons/trunk-bugfixes-Ind.
=== modified file 'hr_holidays/hr_holidays.py'
--- hr_holidays/hr_holidays.py 2011-03-10 09:54:32 +0000
+++ hr_holidays/hr_holidays.py 2011-04-14 10:30:57 +0000
@@ -113,8 +113,10 @@
'name': fields.char('Description', required=True, size=64),
'state': fields.selection([('draft', 'Draft'), ('confirm', 'Waiting Approval'), ('refuse', 'Refused'),
('validate1', 'Waiting Second Approval'), ('validate', 'Approved'), ('cancel', 'Cancelled')],
- 'State', readonly=True, help='When the holiday request is created the state is \'Draft\'.\n It is confirmed by the user and request is sent to admin, the state is \'Waiting Approval\'.\
- If the admin accepts it, the state is \'Approved\'. If it is refused, the state is \'Refused\'.'),
+ 'State', readonly=True, help='The state is set to \'Draft\', when a holiday request is created.\
+ \nThe state is \'Waiting Approval\', when holiday request is confirmed by user.\
+ \nThe state is \'Refused\', when holiday request is refused by manager.\
+ \nThe state is \'Approved\', when holiday request is approved by manager.'),
'user_id':fields.related('employee_id', 'user_id', type='many2one', relation='res.users', string='User', store=True),
'date_from': fields.datetime('Start Date', readonly=True, states={'draft':[('readonly',False)]}),
'date_to': fields.datetime('End Date', readonly=True, states={'draft':[('readonly',False)]}),
Follow ups