tgpfeiffer / restful-openerp

36 stars 13 forks source link

Allow to update existing objects using PUT #3

Closed tgpfeiffer closed 11 years ago

tgpfeiffer commented 12 years ago

It should be possible to edit an existing object by GETting the corresponding resource, updating the values to be updated and then PUT it back.

wprayudo commented 11 years ago

hi..is PUT function already available?

tgpfeiffer commented 11 years ago

Thanks for your comment. Yes, in fact this is done, see the tests at tests/PutTests.py for example. Please note that you must not PUT the whole GET response back, but only the node below the {http://www.w3.org/2005/Atom}content node.