Hello everyone,
I have a problem when I try to add a implied_id in the implied_ids atribute of res.groups.
I tried this code:
implied_id = obj.search([('name', '=', 'Mostrar las iniciativas propias')])
(if I print this variable I get this result: [7]
group_id = oerp.create('res.groups', {'name': name_group, 'category_id': category_id[0], 'implied_ids': implied_id})
The group is created correctly with his name and category, but implied_ids is empty...
I don't know why...
I use the oerplib.
Somebody knows what I'm doing wrong?
Thank you in advance
↧