Odoo Help


This community 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.


message_post weird behavior with datetimes

AJ Schrafel Paper Corp
on 8/23/13, 3:52 AM 700 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?

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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)


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