Hi,
I would like to update a contact record with several tags (category_id).
This is my code :
id = 5404
TESLIST = [23, 30, 26]
contact_odoo_existing = MODELS.execute_kw(DB, UID, PASSWORD, 'res.partner', 'write', [[id], {
'category_id': [(6, 0, [TESLIST])]
}])
And this is the error i've got :
in write\n new_links.update(pairs(act[2]))\nTypeError: unhashable type: \'list\'\n'>
Could you help me ?
Thanks a lot it works fin now !