Odoo Help


Unable to append dynamic data to custom login page theme

on 5/12/16, 7:31 AM 288 views

 var instance = openerp;

var QWeb = openerp.web.qweb;

_t = instance.web._t;

var today = new Date();

var Users = new openerp.Model('hr.employee');

Users.query([ 'id', 'name', 'birthday' ]).all().then(

function(users) {

_.each(users, function(user) {

var bday = new Date(user.birthday);

if (bday.getMonth() == today.getMonth()

&& bday.getDate() == today.getDate()) {






here  $('#abc').append(user.name); this place i tried different ways to bind data login page.please suggest how can bind dynamic data in login page 


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 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: 5/12/16, 7:31 AM
Seen: 288 times
Last updated: 5/13/16, 3:04 AM