{"action":"created","issue":{"url":"https://api.github.com/repos/tgpfeiffer/restful-openerp/issues/8","labels_url":"https://api.github.com/repos/tgpfeiffer/restful-openerp/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/tgpfeiffer/restful-openerp/issues/8/comments","events_url":"https://api.github.com/repos/tgpfeiffer/restful-openerp/issues/8/events","html_url":"https://github.com/tgpfeiffer/restful-openerp/issues/8","id":14975442,"number":8,"title":"OpenERP v7","user":{"login":"agb80","id":911891,"avatar_url":"https://avatars.githubusercontent.com/u/911891?v=3","gravatar_id":"","url":"https://api.github.com/users/agb80","html_url":"https://github.com/agb80","followers_url":"https://api.github.com/users/agb80/followers","following_url":"https://api.github.com/users/agb80/following{/other_user}","gists_url":"https://api.github.com/users/agb80/gists{/gist_id}","starred_url":"https://api.github.com/users/agb80/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agb80/subscriptions","organizations_url":"https://api.github.com/users/agb80/orgs","repos_url":"https://api.github.com/users/agb80/repos","events_url":"https://api.github.com/users/agb80/events{/privacy}","received_events_url":"https://api.github.com/users/agb80/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2013-05-31T04:14:09Z","updated_at":"2015-02-20T13:29:20Z","closed_at":null,"body":"Is this compatible with OpenERP v7?"},"comment":{"url":"https://api.github.com/repos/tgpfeiffer/restful-openerp/issues/comments/75237610","html_url":"https://github.com/tgpfeiffer/restful-openerp/issues/8#issuecomment-75237610","issue_url":"https://api.github.com/repos/tgpfeiffer/restful-openerp/issues/8","id":75237610,"user":{"login":"shomy4","id":10053236,"avatar_url":"https://avatars.githubusercontent.com/u/10053236?v=3","gravatar_id":"","url":"https://api.github.com/users/shomy4","html_url":"https://github.com/shomy4","followers_url":"https://api.github.com/users/shomy4/followers","following_url":"https://api.github.com/users/shomy4/following{/other_user}","gists_url":"https://api.github.com/users/shomy4/gists{/gist_id}","starred_url":"https://api.github.com/users/shomy4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shomy4/subscriptions","organizations_url":"https://api.github.com/users/shomy4/orgs","repos_url":"https://api.github.com/users/shomy4/repos","events_url":"https://api.github.com/users/shomy4/events{/privacy}","received_events_url":"https://api.github.com/users/shomy4/received_events","type":"User","site_admin":false},"created_at":"2015-02-20T13:29:20Z","updated_at":"2015-02-20T13:29:20Z","body":"First of all i would like to thank you for this program.It's really nicely written.\r\nBut you see i am using openERP v7 and when im sending GET requests it is working good,\r\nBut when im sending POST request and one of the fields is one2many i have a problem.\r\nThis is xml im trying to post:\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n    <pa:pio_address xmlns:pa=\"http://localhost:8068/pio_novi48/pio.address/schema\" >\r\n        <pa:id />\r\n     <pa:city type='char'>Mladenovac</pa:city>\r\n     <pa:name type='text'>11400 Mladenovac, Masarikova 7</pa:name>\r\n      <pa:country type='many2one' relation='http://localhost:8068/pio_novi48/survey.type'>\r\n      <link href='/pio_novi48/survey.type/5' />\r\n    </pa:country>\r\n    <pa:full_address type='text'>11400 BJELOVAR, Masarikova 7</pa:full_address>\r\n    <pa:postal_code type='char'>11400</pa:postal_code>\r\n    <pa:address type='char'>Masarikova 7</pa:address>\r\n  </pa:pio_address>\r\n\r\nand various rest clients are showing me this error:\r\ninvalid XML:\r\n<string>:7:0:ERROR:RELAXNGV:RELAXNG_ERR_EXTRACONTENT: Element country has extra content: link\r\n\r\nIf you know the answer i would be really gratefull if you could help me.\r\nThanks in advance"}}