Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
3 Răspunsuri
3039 Vizualizări

Hi All,

I need to show username below the company label in top left. Please help if anyone have done this.

Imagine profil
Abandonează
Cel mai bun răspuns

Example, db name and user name in backend, below logo:

<template id="db_user_info" name="Db user info" inherit_id="web.menu_secondary">
<xpath expr='//img[@src="/web/binary/company_logo"]' position="after">
 
    <br/>
    <t t-esc="request.db"/><br/>
    <t t-esc="request.env.user.name"/>

</xpath>
</template>


Imagine profil
Abandonează
Autor Cel mai bun răspuns

@zbic: Thank you..:-)

Imagine profil
Abandonează