Hello !
I was reading the Tryton documentation for the API, I found some fields, like Many2Many or One2One, but I don’t know how represent it when I’m sending the information using the API.
Example
Many2One can be represented in the API like
{
"model_name":"string"
}
One2Many can be represented like
{
"model_name":[
{"field1":"string1"},
{"field2":"string2"},
]
}
Can you help me with examples of Many2Many and One2One?