Typo: cr.db_name vs cr.dbname
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Smile OpenERP |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
Every minute, an error is logged using smile_action_
[2011-06-20 09:04:30,
Traceback (most recent call last):
File "/home/
f(cr, uid, *args)
File "/home/
self.
File "/home/
threaded_run = threading.
File "/home/
return f(self, *args, **kwargs)
File "/home/
return getattr(self._obj, name)
AttributeError: 'cursor' object has no attribute 'db_name'
The error is caused by the following typo In sartre.py, line 337: replace "cr.db_name" by "cr.dbname".
Cheers,
Stefan.