[6.1] TypeError: 'NoneType' object is not iterable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenERP Canada |
Fix Released
|
Undecided
|
Joao Alfredo Gama Batista | ||
6.1 |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
On 6.1,
* install hr_expense_
* Check included in expense on a tax
* Create an expense sheet line with a product using the previous tax
* Confirm and approve the expense sheet
* Generate the invoice
I get:
Server Traceback (most recent call last):
File "/home/
return openerp.
File "/home/
result = ExportService.
File "/home/
res = fn(db, uid, *params)
File "/home/
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/home/
return f(self, dbname, *args, **kwargs)
File "/home/
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/
return fct_src(cr, uid, model, method, *args)
File "/home/
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/
wf_
File "/home/
res2 = instance.
File "/home/
workitem.
File "/home/
ok = _split_test(cr, workitem, activity[
File "/home/
_join_test(cr, t[0], t[1], ident, stack)
File "/home/
create(
File "/home/
process(cr, res, ident, stack=stack)
File "/home/
result = _execute(cr, workitem, activity, ident, stack)
File "/home/
id_new = wkf_expr.
File "/home/
return _eval_expr(cr, ident, workitem, activity['action'])
File "/home/
ret = eval(line, env, nocopy=True)
File "/home/
return eval(test_
File "", line 1, in <module>
File "/home/
return attr(self._cr, self._uid, [self._id], *args, **kwargs)
File "/home/
for i in l.partner_
TypeError: 'NoneType' object is not iterable
Related branches
- Maxime Chambreuil (http://www.savoirfairelinux.com): Approve
-
Diff: 31 lines (+13/-8)1 file modifiedhr_expense_line_supplier/hr_expense_line_supplier.py (+13/-8)
Changed in openerp-canada: | |
status: | New → In Progress |
Changed in openerp-canada: | |
status: | In Progress → Fix Committed |
Changed in openerp-canada: | |
status: | Fix Committed → Fix Released |