blooparksystems / website

Odoo Website builder related addons
GNU Affero General Public License v3.0
10 stars 33 forks source link

[website_seo] Language change in frontend leads to 404 page with new seo urls #10

Closed rruebner closed 8 years ago

rruebner commented 8 years ago

Problem

If you create a new page and add a seo url in at least two languages the language change on this page won't work. You will get a 404 error.

Steps to reproduce

We have to update the change language function for the seo urls to solve this problem.

kaerdsar commented 8 years ago

This problem also appears with blog and blog post pages. We have to update the url_for_lang method to cover website_blog seo urls.