I am trying to inherit one group's access rights to another group in odoo using python code.
Example :-
i have a hr_manager group and restrict_user group.
i want to inherit hr_manager group to restrict_user group during creation of a new user.
Please suggest..