[7.0]Audit Trail - TypeError: string indices must be integers, not str
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Confirmed
|
Medium
|
OpenERP Publisher's Warranty Team |
Bug Description
Unable to audit user logins.
Way to reproduce :
* Create a new DB
* log as admin
* create a new user, install audit trail, add a rule on res_users for all events
* connect as the new user
You get the following :
2013-08-19 21:32:40,111 18149 ERROR d2 openerp.osv.osv: Uncaught exception
Traceback (most recent call last):
File "/home/
return f(self, dbname, *args, **kwargs)
File "/home/
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/
return self.log_fct(cr, uid, model, method, fct_src, *args, **kw)
File "/home/
res_
TypeError: string indices must be integers, not str
2013-08-19 21:32:40,112 18149 ERROR d2 openerp.netsvc: string indices must be integers, not str
Traceback (most recent call last):
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 self.log_fct(cr, uid, model, method, fct_src, *args, **kw)
File "/home/
res_
TypeError: string indices must be integers, not str
Related branches
- OpenERP Core Team: Pending requested
-
Diff: 50 lines (+12/-4)1 file modifiedaudittrail/audittrail.py (+12/-4)
I confirm, same error.