diff options
| author | Ravi Gadhia <rga@odoo.com> | 2016-07-15 10:30:04 +0200 |
|---|---|---|
| committer | Jérome Maes <jem@openerp.com> | 2016-08-04 12:02:14 +0200 |
| commit | fd09ddb6f3c40e9ec5854cc58c7eb791d4498dc0 (patch) | |
| tree | 58e598da9165b3f78a9d35efcc3c9a2167b82a9b /addons/website_customer/controllers/main.py | |
| parent | 7c20b4785bef5bf2fd84b429d42a2f3425801410 (diff) | |
[MIG] website: migration to new api
Migration of website module to new API.
The tricky phase is ir_http.py : we need to use `request.env`
only when the authenfication phase is done. Normally by
calling `super` of `_dispatch` method, but website module
required it to be done before. This is important since
`env`is a lazy property of `request` object.
Some hack were kept since this commit is a migration ('RequestUID'
in ir.http, ...)
Some docstrings were added.
Diffstat (limited to 'addons/website_customer/controllers/main.py')
0 files changed, 0 insertions, 0 deletions
