コンテンツへスキップ
メニュー
この質問にフラグが付けられました
3 返信
3056 ビュー

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..:-)

アバター
破棄