group_e = self.env.ref('module.odoo_group', False)
group_e.write({'users': [(4, self.user_id.id)]})I use this python code to add user to a group.
i want remove as like this by checking a condition,
so please suggest your answers.
thanks in advance.