[FIX] base: expiration date does not belong in the community edition
The expiration date will now be set when installing the enterprise 'web' module instead of at the init of the database since putting an expiration date on a community edition database doesn't make sense.
This commit is contained in:
committed by
Olivier Dony
parent
0a6edac151
commit
eee26f4454
@@ -18,7 +18,6 @@ _default_parameters = {
|
||||
"database.secret": lambda: (str(uuid.uuid4()), ['base.group_erp_manager']),
|
||||
"database.uuid": lambda: (str(uuid.uuid1()), []),
|
||||
"database.create_date": lambda: (datetime.datetime.now().strftime(misc.DEFAULT_SERVER_DATETIME_FORMAT), ['base.group_user']),
|
||||
"database.expiration_date": lambda: ((datetime.datetime.now()+datetime.timedelta(+30)).strftime(misc.DEFAULT_SERVER_DATETIME_FORMAT), ['base.group_user']),
|
||||
"web.base.url": lambda: ("http://localhost:%s" % config.get('xmlrpc_port'), []),
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user