Crash with ' "NoneType" object is not iterable'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openerp-hr-attendance-analysis |
New
|
Undecided
|
Unassigned |
Bug Description
OpenERP-Client Version : 6.0.4
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
File "/usr/share/
result = ExportService.
File "/usr/share/
res = fn(db, uid, *params)
File "/usr/share/
return self._execute(db, uid, wiz_id, datas, action, context)
File "/usr/share/
return wiz.execute(db, uid, self.wiz_
File "/usr/share/
res = self.execute_cr(cr, uid, data, state, context)
File "/usr/share/
action_res = action(self, cr, uid, data, context)
File "/usr/share/
count = pool.get(
File "/usr/share/
con.
TypeError: 'NoneType' object is not iterable
In hr_journal.py, prior to line 733, add a check for None against con.turn_ id.attendance_ ids before trying to iterate over it?