[FIX] viin_brand_web: the portal pages show the Viindoo title and favicon
Killed
275m
merged
Commit message
[FIX] viin_brand_web: the portal pages show the Viindoo title and favicon Since 19.0 the page title and favicon are de-branded by the callers of web.layout - the login layout and the backend bootstrap - and no longer by an extension of web.layout itself (15.0 viin_brand_common, dropped because its locators //title and the typed icon link do not exist in the stripped web.layout that core's web.WebSuite.test_check_suite combines). The portal pages (/my/...) reach web.layout through web.frontend_layout and set neither: they showed 'Odoo' in the browser tab and the Odoo favicon, where 15.0 showed 'Viindoo'. web.layout gets its defaults back - title or 'Viindoo', x_icon or the Viindoo favicon - as render variables placed after the first <meta> of <head>: before the <title> and the icon link that read them, after what website's layout computes at the top of <head> (a website keeps its own title and favicon), and on a node the test proxy of web.layout has. Found on a database upgraded from 15.0 (every /my page). The Viindoo logo the 15.0 account page (/my/account) showed in its footer does not come back: the 19.0 address form renders no footer at all (no_footer), Odoo logo included. Test: /my renders the Viindoo title and favicon when no website serves the portal. It fails without the fix. Core's web.WebSuite.test_check_suite and website's WithContext tests (page titles) pass with it.