diff options
| author | fwi-odoo <fwi@odoo.com> | 2017-02-21 14:01:19 +0100 |
|---|---|---|
| committer | fwi-odoo <fwi@odoo.com> | 2017-03-03 15:44:44 +0100 |
| commit | eb56b9bebc56dbcde8d7d1fad09aeae331de7c8f (patch) | |
| tree | 3f8ca5badb5b514028bd99dc28372c1c29ea80f9 /odoo/tools/__init__.py | |
| parent | 37394534495c8049431aa1cf855dbb422c9564a4 (diff) | |
[IMP] website: allow defining the module used for the xml_id
When a new page is created, we want to allow the definition of the xml_id
as 'website.XXX' in order to have clean url in the frontend and not always
take the same module name than the template module name. Since the page
with url 'page/website.XXX' are parsed by the website controller to be
displayed as 'page/XXX'.
e.g. in studio we create page on the fly and don't want url as:
'www.odoo.com/page/website_studio.XXX'
Diffstat (limited to 'odoo/tools/__init__.py')
0 files changed, 0 insertions, 0 deletions
