odoo/odoo#131774

Created by fw-bot
Merged at bbb09f43f3db16112eff1656d9c1a0f6d3650fd6

Statuses:

label
odoo-dev:saas-16.3-16.0-fix-seo-title-check-ard-jQlP-fw
head
3ff8a0ebc91a6effbade8a980bc9216dbaefd97b
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