[IMP] fix hr_holiday second validation
bzr revid: ara@tinyerp.com-20110920100107-b9gy9n4is2vz6ce1
This commit is contained in:
parent
28471e9deb
commit
8485984019
|
@ -204,6 +204,7 @@ class hr_holidays(osv.osv):
|
|||
|
||||
def onchange_sec_id(self, cr, uid, ids, status, context=None):
|
||||
warning = {}
|
||||
double_validation = False
|
||||
obj_holiday_status = self.pool.get('hr.holidays.status')
|
||||
if status:
|
||||
holiday_status = obj_holiday_status.browse(cr, uid, status, context=context)
|
||||
|
|
Loading…
Reference in New Issue