diff options
| author | Romain Derie <rde@odoo.com> | 2019-08-26 14:35:17 +0000 |
|---|---|---|
| committer | Romain Derie <rde@odoo.com> | 2019-08-26 14:43:39 +0000 |
| commit | 0ff1933ba122206db3003552b74f3a532cd68c3c (patch) | |
| tree | 508395fff87e465ee24af69e561f99af1b0c67e1 /doc/reference/javascript_reference.rst | |
| parent | 832dc676783e0cbaa2e9a1f491dfdd6ee4dd9bd6 (diff) | |
[FIX] website: restore sitemap lastmod and priority
Commit 54d30d5194 introduced `lastmod` and `priority` on sitemap locs.
This was broken with 4ecbacaf5957 which introduced `website.page` model as it
removed the `PageConverter`.
Before website.page:
1. PageConverter returned records with `__lastmod`
2. `enumerate_pages` loop on converters would remove the prefixed `__`
After website.page:
1. code to remove `__` was still there but the pages would be found and looped
on after that code, making it useless.
With this commit:
1. The code to remove the `__` is moved after searching the pages.
Following #36090
Related to #35464
Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions
