Skip to Content
Menu
This question has been flagged
1 Reply
1853 Views

Hello,

I have a "Parent" form for student parents. I created some "Parents". Now i want to create a user in security file, so that parent can log in with?

How can i adopt this?

Please help me.

Avatar
Discard
Best Answer

Hi,

Either you can give the portal access or backend access. First of all, you have to create a user group called Parents and link the parent(s) with their child/student. Then you have to give access rights and record rules for the newly created group, such a way that parents login can see their child/student data.

For creating a new user you have different options, either you can create user by overriding the create method of parents model or on a button click you can create a user.

Odoo Security Mechanism: https://www.youtube.com/watch?v=mzg3EGD_6Gw

Thanks

Avatar
Discard