diff options
| author | Christophe Simonis <chs@odoo.com> | 2016-10-27 18:17:59 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2016-10-27 18:17:59 +0200 |
| commit | 3bb022d57c43c51a5fd4be39e4123b1206db4782 (patch) | |
| tree | 5612b82c58085c75514800e5ca5ce96cb6bead56 /addons/web_planner/models/web_planner.py | |
| parent | ba33ec755407aa3c54edbe7f668c058a83bda356 (diff) | |
| parent | 6f8e40cdecaffe70b2ed8aa91afe787c94a0a2e5 (diff) | |
[MERGE] forward port branch saas-12 up to 6f8e40c
Diffstat (limited to 'addons/web_planner/models/web_planner.py')
| -rw-r--r-- | addons/web_planner/models/web_planner.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/addons/web_planner/models/web_planner.py b/addons/web_planner/models/web_planner.py index 9f88ec4e708..3fa38c1dc7c 100644 --- a/addons/web_planner/models/web_planner.py +++ b/addons/web_planner/models/web_planner.py @@ -67,6 +67,8 @@ class Planner(models.Model): module = self.env['ir.module.module'].sudo().search([('name', '=', module_name)], limit=1) if module: params['id'] = module.id + else: + return "#show_enterprise" return "/web#%s" % (urlencode(params),) @api.model |
