Odoo Help


Warning Or a Message pop up when a user logs in?

Sampath Kumar S
on 10/20/15, 5:36 AM 1,215 views

Hi All,

I would like to raise a warning or a pop up message when a user logs in.

So can you kindly say under which function of what object/model should this code be written.

Thank you,

On 3/8/16, 2:04 AM

Hello Sampath,

In ur user(admin) form view there one home action, first you need to create wizard or somthing to do, and that action yopu can set overe here... then that will work when ever people log in system.

Thank you


Thanks Logicious.. It worked for me..!!

Sampath Kumar S
on 3/29/16, 2:02 AM
On 3/8/16, 7:46 AM

Goto, web/views/webclient_templates.xml JUST REPLACE THE BELOW CODE, Is shown an User Login popup message..

<div class="clearfix oe_login_buttons">

    <button type="submit" class="btn btn-primary" data-toggle="modal" data-target="#myModal">Log in</button>


<div id="myModal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">

<div class="modal-dialog modal-sm">

<div class="modal-content">

<div class="modal-header">


<div class="modal-body">

<p> User LOG IN </p>





Thanks CatsandDogs for the answer it works, but I wanted a pop up based on few condition only for specified users.

Sampath Kumar S
on 3/29/16, 2:03 AM

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.


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)


Asked: 10/20/15, 5:36 AM
Seen: 1215 times
Last updated: 3/29/16, 2:01 AM