odoo/odoo#131809

Created by fw-bot
Merged at 276dbdad5ac2cf2f60d73d3d74c1d6c7028aa87b

Statuses:

label
odoo-dev:master-16.0-fix-seo-title-check-ard-k5fl-fw
head
894c8e18d863cd584c23a1830c02a1cd91895ff7
merged
2 years ago by Website, Benoit Socias (bso)
odoo/odoo
16.0 #130922
saas-16.1 #131738
saas-16.2 #131754
saas-16.3 #131774
saas-16.4 #131797
17.0
18.0
saas-18.1
saas-18.2
saas-18.3
master #131809

[FW][FIX] website: properly check for title in SEO dialog

Commit 1 adapted the SEO dialog to OWL and to the move of the website in the backend. While doing so, it omitted checking for the default title when validating whether a keyword was contained in the page's title.

In 15.0 the way this was checked was through a simple look through the page's <title> tag.

However, in this commit, we do not look through HTML rather, we use the metadata "default_title".

opw-3435547

Forward-Port-Of: #130922