Odoo Help

1

How can I show username below the company label in Odoo 8

By
Janeesh
on 12/2/15, 7:50 AM 687 views

Hi All,

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

1
Zbik
On 12/2/15, 10:16 AM

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>


0
Janeesh
On 12/4/15, 2:08 AM

@zbic: Thank you..:-)

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 12/2/15, 7:50 AM
Seen: 687 times
Last updated: 9/22/17, 3:12 AM