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/data/website_data.xml | |
| 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/data/website_data.xml')
| -rw-r--r-- | addons/website/data/website_data.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/website/data/website_data.xml b/addons/website/data/website_data.xml index 81894997181..ba7c0c7c93b 100644 --- a/addons/website/data/website_data.xml +++ b/addons/website/data/website_data.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<openerp> +<odoo> <data noupdate="1"> <record id="default_website" model="website"> <field name="name">Website localhost</field> @@ -368,4 +368,4 @@ <field name="url">/web/image/website.s_background_image_01</field> </record> </data> -</openerp> +</odoo> |
