Odoo Help


message_post weird behavior with datetimes

AJ Schrafel Paper Corp
on 8/23/13, 3:52 AM 1,046 views

I use this line of code partner_obj.message_post(cr, uid, partner.id, body=(descr + " " + note+" "+ '%s')% (enterdate), date=(enterdate), context=context)

I get 2 different results. In the message body 04/13/2010 5:30:44 is stored

The message creation date is displayed as 04/13/2010 1:30:44 in the partner message list.

4 hours difference for the same variable, is this a python datetime thing? postgres thing?

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

0 follower(s)


Asked: 8/23/13, 3:52 AM
Seen: 1046 times
Last updated: 3/16/15, 8:10 AM