I created a new group via XML for access rights management
<record model="res.groups" id="group_no_open_procurement">
<field name="name">Only Tree view for procurement</field>
</record>
I need to enable this group for all the users by code itself and not manually changing @ User window. How should I proceed?