[7.0][6.1][account_chart_update] Wrong dict passed in function to that leads to TypeError
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Account - Financial Tools |
Fix Released
|
Undecided
|
Yann Papouin |
Bug Description
I'm testing 6.1 but since this part of the code didn't change in 7.0, it should also happens in both versions.
The problem comes from "action_
cr, uid, wizard, log, taxes_res[
cr, uid, wizard, log, taxes_res[
For the record:
Server Traceback (most recent call last):
File "/web/addons/
return openerp.
File "/server/
result = ExportService.
File "/server/
res = fn(db, uid, *params)
File "/server/
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/server/
return f(self, dbname, *args, **kwargs)
File "/server/
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/server/
return getattr(object, method)(cr, uid, *args, **kw)
File "/addons-
self.
File "/addons-
if value['
TypeError: 'int' object has no attribute '__getitem__'
Related branches
- Joaquin Gutierrez (community): Approve (code review and test)
- Pedro Manuel Baeza: Approve (code review, no test)
-
Diff: 11 lines (+1/-1)1 file modifiedaccount_chart_update/account.py (+1/-1)
- Joaquin Gutierrez (community): Approve (code review and test)
- Pedro Manuel Baeza: Approve (code review, no test)
-
Diff: 11 lines (+1/-1)1 file modifiedaccount_chart_update/wizard/wizard_chart_update.py (+1/-1)
Changed in account-financial-tools: | |
assignee: | nobody → Yann Papouin (yann-papouin) |
Changed in account-financial-tools: | |
status: | New → Fix Released |