When creating an entry in the DB that have relationships, when using ids we have to get every objects from the other table of the relationship and if we forget to do the code for that it won't work (for example : https://github.com/cgwire/zou/issues/557)
The terminology for person.contract_types can be improved + set
The route POST /data/persons/new is not in the CRUD form.
Solution
When creating an entry in the DB that have relationships, automatically resolve objects from the other table of the relationship.
Improve terminology for person.contract_types.
Create POST /data/persons to create new person + deprecate /data/persons/new.
Problem
Solution