Hi , my name is Fausto Montepietra : i need to set a tag field in res.partner model using the odoo web service api (agents field in res.partner model extended by the sale_commissions addon).This is an example of the code that i'm using without success:
models.execute_kw(db, uid, password, 'res.partner', 'write', [[id], {
'agents': [agent_id]
}])
*agents is a many to many tag field
**i'm using odoo 10.0
can someone point me in the right direction?
Thanks