Odoo Help

0

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

By
Sampath Kumar S
on 10/20/15, 5:36 AM 921 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,

1
Logicious
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

Logicious

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

Sampath Kumar S
on 3/29/16, 2:02 AM
0
CatsandDogs
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>

<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>

<div class="modal-body">

<p> User LOG IN </p>

</div>

</div>

</div>

</div>

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.

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: 10/20/15, 5:36 AM
Seen: 921 times
Last updated: 3/29/16, 2:01 AM