I'm trying to learn Odoo and developing a module. For the same, I just created 2 new user groups. ie. Parent
and Faculty
. I used the following code,
<record id="group_parent" model="res.groups">
<field name="name">Parent</field>
</record>
<record id="group_faculty" model="res.groups">
<field name="name">Faculty</field>
</record>
It worked fine and I can see these groups under the Access Rights
tab in user's form view.
Then I was able to assign Faculty
option for a user. But when I upgrade my module, it's getting reset the user's access rights.
After upgrading my module, how it looks like is:
In the data
block, I used to try with noupdate="1"
and noupdate="0"
, but no use. I'm still getting the same issue. Is there any other places which should be taken into account to fix this issue?
It will be appreciable, if anyone can tell me the reason for this issue.
noupdate="1"
in thedata
tag, but no use. Still getting the same issue. – Nikhil Mohan