Fix Odoo Community resource
The Odoo API adds a community
field as first level in the community response:
- Before:
{
"id": 123,
"name": "Model Osona",
"birth_date": "2021-11-14",
...
}
- After:
{
"community": {
"id": 123,
"name": "Model Osona",
"birth_date": "2021-11-14",
...
}
}
We must adapt the resource in our project to manage this new level in JSON response.
Edited by Daniel Palomar