Closed sebasdrk17 closed 1 year ago
This is a fix based on https://github.com/odoo/odoo/commit/b997684b062bb1010c52f4af49f72f2be570e392 which addresses the same problem but for v14.
The sitemap creates a different URL compared to slug() this causes problems with google since the URLs may vary.
slug()
The URLs for products are constructed by ID and name
ID
name
Both URLs should be the exact same.
-- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This PR will be used as a patch.
This MR is reference to task#63157
This is a fix based on https://github.com/odoo/odoo/commit/b997684b062bb1010c52f4af49f72f2be570e392 which addresses the same problem but for v14.
Description of the issue/feature this PR addresses:
The sitemap creates a different URL compared to
slug()
this causes problems with google since the URLs may vary.Current behavior before PR:
The URLs for products are constructed by
ID
andname
Desired behavior after PR is merged:
Both URLs should be the exact same.
-- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr