Odoo Help


Unable to append dynamic data to custom login page theme

on 5/12/16, 7:31 AM 530 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 


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