Odoo Help

Welcome!

This community 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.

0

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

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

Hi All,

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

1

zbik

--zbik--
5941
| 6 4 7
Lodz, Poland
--zbik--


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

--Janeesh--
1641
| 4 3 4
Cochin, India
--Janeesh--

Odoo Developer

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

@zbic: Thank you..:-)

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 12/2/15, 7:50 AM
Seen: 453 times
Last updated: 12/4/15, 2:08 AM