summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/services
diff options
context:
space:
mode:
authorDavid Beguin <dbe@odoo.com>2020-08-18 09:59:22 +0000
committerDavid Beguin <dbe@odoo.com>2020-08-19 10:00:10 +0000
commit6a5ee406d81513e20baf1bdd610ca56c8348d6ec (patch)
treecaa31bdb1cd2f4f03cd0493941bb9c0f86ce04c8 /addons/web/static/src/js/services
parent716e2266569949b0a70a31d1b37a0794e1d2b308 (diff)
[IMP] website_event_*: clean sitemap
From now, you need to explicitely add sitemap=True if you want your controller into the sitemap. It's the default value, but if you forgot it, it will raise a Warning on runbot. It will avoid wrong controller in sitemap and duplicate (empty) content. From now, if your model contains a field website_id, the modelConverter for sitemap will automatically add the domain: "[('website_id', 'in', (False, current_website_id))]" It avoid redundant declaration and ugly url in redirect/rewrite view. Task ID: 2318597 closes odoo/odoo#56114 X-original-commit: aabd31d1523fb6ca68336cc66a6e2f074173f396 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com> Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/services')
0 files changed, 0 insertions, 0 deletions