I'm trying to add a logo to the top navbar (like this: https://i.imgur.com/0J54fbh.png) and I'm looking for the view id to inherit that will allow me to target propper elements with xpath.
I'm having trouble with locating the view responsible for the navbar layout.
I have found something like this: addons\website\views\website_navbar_templates.xml
But it does not defines this two nodes (present inside browser inspect element tool):
<ul class="o_menu_apps">
and
<a class="o_menu_brand" role="button">
They are only present inside static xml: addons\web\static\src\xml\menu.xml
But I don't know if I can even modify this xml with my custom module and xpath.
Inside: addons\website\views\website_templates.xml
I saw this piece of code:
<template id="layout_logo_show" inherit_id="website.layout" customize_show="True" name="Show Logo">
<xpath expr="//header//a[hasclass('navbar-brand')]" position="replace">
<a href="/" class="navbar-brand logo">
<span t-field="res_company.logo" t-options="{'widget': 'image'}" role="img" t-att-aria-label="'Logo of %s' % res_company.name" t-att-title="res_company.name" />
</a>
</xpath>
</template>
But where does this logo goes? I don't see any logo in Odoo12. I think there is no class called 'navbar-brand'.