I am new in odoo platform and i want to add value in groups_id using python code
how to add please help me..
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
I am new in odoo platform and i want to add value in groups_id using python code
how to add please help me..
try like below code
user.write({'groups_id': [(4, self.ref('module_name.group_name_xml_id'))], })
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up