[FIX] orm: call super in __getattr__.

bzr revid: vmt@openerp.com-20130125165314-66j55mtobvt61c7r
This commit is contained in:
Vo Minh Thu 2013-01-25 17:53:14 +01:00
parent ad7d846106
commit 200d008fc4
1 changed files with 1 additions and 1 deletions

View File

@ -5263,7 +5263,7 @@ class BaseModel(object):
res[id] = workflow_service.trg_validate(uid, self._name, id, signal_name, cr)
return res
return handle_workflow_signal
raise AttributeError
return super(BaseModel, self).__getattr__(name)
# keep this import here, at top it will cause dependency cycle errors
import expression