8 lines
316 B
Python
8 lines
316 B
Python
|
|
# -*- coding: utf-8 -*-
|
||
|
|
def post_init_hook(env):
|
||
|
|
"""Runs once right after this module is installed, so the /trial
|
||
|
|
'Choose your Apps' page is populated immediately with whatever apps
|
||
|
|
are already installed internally - no waiting for the 6h cron.
|
||
|
|
"""
|
||
|
|
env['saas.app']._sync_from_installed_modules()
|