odoo/odoo#162519

Created by fw-bot
Merged at 5880aac0c79330e5ef62c475102d53765895cec4

Statuses:

label
odoo-dev:16.0-13.0-fix-blog-top-banner-gdi-Htio-fw
head
9663b14a759f66333e2d913f924705052b655024
merged
1 year ago by Guillaume Dieleman (gdi)
odoo/odoo
15.0 #92022
16.0 #162519
saas-16.3 #162576
saas-16.4 #162592
17.0 #162620
saas-17.1 #162646
saas-17.2 #162663
saas-17.4
18.0
saas-18.1
saas-18.2
saas-18.3
master #162682

[FW][FIX] website_blog: fix blog top banner

Before this commit an error appeared if a block had been set at the top
of the /blog page and the user wished to re-enable the
'Top banner - Name / Latest Post' option. This commit resolves the issue
by giving higher priority to the activated view.

Steps to reproduce the fixed bug:
- Go on /blog page
- Disable the customize option "Top banner - Name / Latest Post"
- Enter in edit mode
- Add a snippet to the top (in the oe_structure)
- Save the page
- Enable the customize option "Top banner - Name / Latest Post"

=> An error happens.

task-2774944

Forward-Port-Of: #92022