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?
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
|Asked: 8/23/13, 3:52 AM|
|Seen: 700 times|
|Last updated: 3/16/15, 8:10 AM|