diff options
| author | Jeremy Kersten <jke@odoo.com> | 2014-06-23 16:52:40 +0200 |
|---|---|---|
| committer | Jeremy Kersten <jke@odoo.com> | 2014-06-26 16:27:24 +0200 |
| commit | f337bcaa1df4e0689ff07ff39497eabf31c93c29 (patch) | |
| tree | ab5daa0bece23d95a7a7367c512ee83bd19e818b /addons/mail/update.py | |
| parent | fd8ae038d87d332e1804c4c6b3c9b164564ab9f4 (diff) | |
[IMP] ir.config.parameters: support group-based access control
Diffstat (limited to 'addons/mail/update.py')
| -rw-r--r-- | addons/mail/update.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mail/update.py b/addons/mail/update.py index 6969b1479b1..d2873f3a5bf 100644 --- a/addons/mail/update.py +++ b/addons/mail/update.py @@ -29,7 +29,7 @@ def get_sys_logs(self, cr, uid): pool = openerp.registry(cr.dbname) dbuuid = pool.get('ir.config_parameter').get_param(cr, uid, 'database.uuid') - db_create_date = pool.get('ir.config_parameter').get_param(cr, uid, 'database.create_date') + db_create_date = pool.get('ir.config_parameter').get_param(cr, SUPERUSER_ID, 'database.create_date') limit_date = datetime.datetime.now() limit_date = limit_date - datetime.timedelta(15) limit_date_str = limit_date.strftime(misc.DEFAULT_SERVER_DATETIME_FORMAT) |
