Tuesday, February 11, 2014

Just another XMLRPC openERP information !

Well , do you write offline client for openERP like us , intended to write POS , Payroll and many vertical industries for Malaysia/Singapore market , well , i hit this problem of converting the xmlrpclib datetime correctly ,

according to xmlrpclib , the xml request for date/datetime field to be encoded in this

<value><dateTime.iso8601>20140211T00:00:00</dateTime.iso8601></value>

but after we use our development language to encode the datetime as above , it won't work so
we try to hack and found out that , OpenERP accept this format !

 <value><string>2014/2/11</string></value>

Hope this information help you to solve more ! if you like this post , goto our faceboook and give us a like and i will be motivated more and in time to come to launch a mini andriod app to help us to explore and
understand the XMLRPC of openERP , Cheers!

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.