c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #14307
[Bug 709130] [NEW] [6.0.1][hr_holidays] can not refuse an approved holidays
Public bug reported:
Hi,
In hr_holidays module,
When a leave is in approved state, there is a button Refuse.
When I click on this button :
File "/home/laurent/Documents/OpenERP/Trunk/addons/hr_holidays/hr_holidays.py", line 293, in holidays_cancel
obj_crm_meeting.unlink(cr, uid, [record.case_id])
File "/home/laurent/Documents/OpenERP/Trunk/addons/base_calendar/base_calendar.py", line 1594, in unlink
if self.get_edit_all(cr, uid, event_id, vals=None):
File "/home/laurent/Documents/OpenERP/Trunk/addons/base_calendar/base_calendar.py", line 1417, in get_edit_all
return meeting['recurrency'] and meeting['edit_all']
TypeError: list indices must be integers, not str
** Affects: openobject-addons
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/709130
Title:
[6.0.1][hr_holidays] can not refuse an approved holidays
Status in OpenERP Modules (addons):
New
Bug description:
Hi,
In hr_holidays module,
When a leave is in approved state, there is a button Refuse.
When I click on this button :
File "/home/laurent/Documents/OpenERP/Trunk/addons/hr_holidays/hr_holidays.py", line 293, in holidays_cancel
obj_crm_meeting.unlink(cr, uid, [record.case_id])
File "/home/laurent/Documents/OpenERP/Trunk/addons/base_calendar/base_calendar.py", line 1594, in unlink
if self.get_edit_all(cr, uid, event_id, vals=None):
File "/home/laurent/Documents/OpenERP/Trunk/addons/base_calendar/base_calendar.py", line 1417, in get_edit_all
return meeting['recurrency'] and meeting['edit_all']
TypeError: list indices must be integers, not str
Follow ups
-
[Bug 709130] Re: [6.0.1][hr_holidays] can not refuse an approved holidays
From: Jay Vora (OpenERP), 2011-03-02
-
[Bug 709130] Re: [6.0.1][hr_holidays] can not refuse an approved holidays
From: Jay Vora (OpenERP), 2011-03-02
-
[Bug 709130] Re: [6.0.1][hr_holidays] can not refuse an approved holidays
From: Mustufa Rangwala (Open ERP), 2011-03-02
-
[Bug 709130] Re: [6.0.1][hr_holidays] can not refuse an approved holidays
From: Mustufa Rangwala (Open ERP), 2011-02-01
-
[Bug 709130] Re: [6.0.1][hr_holidays] can not refuse an approved holidays
From: Mustufa Rangwala (Open ERP), 2011-01-31
-
[Bug 709130] Re: [6.0.1][hr_holidays] can not refuse an approved holidays
From: Launchpad Bug Tracker, 2011-01-31
-
[Bug 709130] Re: [6.0.1][hr_holidays] can not refuse an approved holidays
From: Mustufa Rangwala (Open ERP), 2011-01-31
-
[Bug 709130] Re: [6.0.1][hr_holidays] can not refuse an approved holidays
From: Bhumika (OpenERP), 2011-01-28
-
[Bug 709130] Re: [6.0.1][hr_holidays] can not refuse an approved holidays
From: Ujjvala Collins (OpenERP), 2011-01-28
-
[Bug 709130] Re: [6.0.1][hr_holidays] can not refuse an approved holidays
From: Ujjvala Collins (OpenERP), 2011-01-28
-
[Bug 709130] Re: [6.0.1][hr_holidays] can not refuse an approved holidays
From: Mustufa Rangwala (Open ERP), 2011-01-28
-
[Bug 709130] Re: [6.0.1][hr_holidays] can not refuse an approved holidays
From: Mustufa Rangwala (Open ERP), 2011-01-28
-
[Bug 709130] Re: [6.0.1][hr_holidays] can not refuse an approved holidays
From: Devishree Brahmbhatt (OpenERP), 2011-01-28
-
[Bug 709130] Re: [6.0.1][hr_holidays] can not refuse an approved holidays
From: laurent0, 2011-01-28
-
[Bug 709130] [NEW] [6.0.1][hr_holidays] can not refuse an approved holidays
From: laurent0, 2011-01-28
References