diff options
| author | Laurent Smet <las@openerp.com> | 2017-04-26 09:31:55 +0200 |
|---|---|---|
| committer | Laurent Smet <las@openerp.com> | 2017-05-08 09:23:12 +0200 |
| commit | e80238042c9d93d492ea8b06b0041aced0d81dcd (patch) | |
| tree | 70ed26eb99cf62ff7d5418a0748d1aa166136067 /addons/web/models | |
| parent | 3425752eaca236c1e4b4d616aa49b3faa6cfd957 (diff) | |
[REF] report: remove the report module
The content of the report module is now dispatched in
the 'base' and the 'web' modules.
Diffstat (limited to 'addons/web/models')
| -rw-r--r-- | addons/web/models/ir_http.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/web/models/ir_http.py b/addons/web/models/ir_http.py index 73a83664683..36ffe593acb 100644 --- a/addons/web/models/ir_http.py +++ b/addons/web/models/ir_http.py @@ -40,6 +40,7 @@ class Http(models.AbstractModel): "partner_id": request.env.user.partner_id.id if request.session.uid and request.env.user.partner_id else None, "user_companies": {'current_company': (user.company_id.id, user.company_id.name), 'allowed_companies': [(comp.id, comp.name) for comp in user.company_ids]} if display_switch_company_menu else False, "currencies": self.get_currencies(), + "web.base.url": self.env['ir.config_parameter'].sudo().get_param('web.base.url', default=''), } def get_currencies(self): |
