Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
3 Vastaukset
3072 Näkymät

Hi All,

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

Avatar
Hylkää
Paras vastaus

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>


Avatar
Hylkää
Tekijä Paras vastaus

@zbic: Thank you..:-)

Avatar
Hylkää