tgpfeiffer / restful-openerp

36 stars 13 forks source link

Allow to create new objects using POST #1

Closed tgpfeiffer closed 11 years ago

tgpfeiffer commented 12 years ago

It should be possible to create a new object of a type, e.g., a partner, by POSTing an appropriate description to /{dbname}/res.partner.

tgpfeiffer commented 11 years ago

This is done. A good way to create a new object is to GET the defaults, update the fields that you want to create the object with, and POST only the actual OpenERP data (not the Atom XML around it) to /{dbname}/{type}.