Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
3 Відповіді
3062 Переглядів

Hi All,

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

Аватар
Відмінити
Найкраща відповідь

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>


Аватар
Відмінити
Автор Найкраща відповідь

@zbic: Thank you..:-)

Аватар
Відмінити