<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data noupdate="0">
<record id="module_category_stationery" model="ir.module.category">
<field name="name">Set Permssion</field>
<field name="sequence">50</field>
</record>
<record id="group_stationery_administration" model="res.groups">
<field name="name">Admin</field>
<field name="category_id" ref="module_category_stationery"/>
<field name="users" eval="[(4, ref('base.user_root'))]"/>
</record>
<record id="group_stationery_user" model="res.groups">
<field name="name">User</field>
<field name="category_id" ref="module_category_stationery"/>
<field name="implied_ids" eval="[(4, ref('group_stationery_administration'))]"/>
</record>
</data>
<data noupdate="1">
<record id="base.default_user" model="res.users">
<field name="groups_id" eval="[(4,ref('stationery.group_stationery_administration'))]"/>
</record>
<record id="rule_group_stationery_user" model="ir.rule">
<field name="name">Rule For User</field>
<field name="model_id" ref="model_list_stationery"/>
<field name="global" eval="True"/>
<field name="domain_force">[('department_id.member_ids.user_id','in',[user.id])]</field>
<field name="groups" eval="[(4, ref('group_stationery_user'))]"/>
</record>
</data>
</odoo>
I have not set Default Group "user" but it was not working.
Thanks in advance.
I am not sure but your dataupdate tag is true, since the update will not take place