diff options
| author | Fabien Meghazi <fme@openerp.com> | 2012-09-27 11:54:42 +0200 |
|---|---|---|
| committer | Fabien Meghazi <fme@openerp.com> | 2012-09-27 11:54:42 +0200 |
| commit | b31ddfe2a7d5d47cd99d54015a188cee9941bace (patch) | |
| tree | 610bdf2dc9a819702ff44c8708aa0547bbff479b | |
| parent | 08cea541f8725fa52878860acd18cd44320875a6 (diff) | |
[IMP] Make auth_oauth2_token a TransientModel. Means autovacuum and no permission management for tokens generation
bzr revid: fme@openerp.com-20120927095442-iygwpmn1pin1x0j9
| -rw-r--r-- | addons/auth_oauth2_provider/auth_oauth2_provider.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/auth_oauth2_provider/auth_oauth2_provider.py b/addons/auth_oauth2_provider/auth_oauth2_provider.py index 32977c4fabe..a6af7dadf98 100644 --- a/addons/auth_oauth2_provider/auth_oauth2_provider.py +++ b/addons/auth_oauth2_provider/auth_oauth2_provider.py @@ -22,7 +22,7 @@ from openerp.osv import osv, fields import datetime import uuid -class auth_oauth2_token(osv.osv): +class auth_oauth2_token(osv.TransientModel): """Oauth2 Token Class""" _name = 'auth.oauth2.token' |
