I want to create a custom module to manage students. Each student should be able to sing up and log into the system.
What approach should I use to achive that?
When an user completes the registration form a new student should be created automatically and given some credits (integer), Each student should have an user linked to it, so the student can log into the system. How can I do that?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kirjanpito
- Varastointi
- PoS
- Project
- MRP
Tämä kysymys on merkitty
Hi,
For this either you can use default signup option in odoo or you can create a custom form for the user/student registration. You can choose in which way, you need to go forward.
If you are using the odoo sign up option, you can check the web_auth_signup function in this file /odoo/addons/auth_signup/controllers/main.py .
From the above methods, you can get the function from where which the user/partner is created, by overiding the same you can create a student too.
Thanks
Nautitko keskustelusta? Älä vain lue, vaan osallistu!
Luo tili jo tänään nauttiaksesi yksinoikeusominaisuuksista ja osallistuaksesi mahtavaan yhteisöömme!
RekisteröidyAiheeseen liittyviä artikkeleita | Vastaukset | Näkymät | Toimenpide | |
---|---|---|---|---|
|
0
maalisk. 15
|
2900 | ||
|
4
jouluk. 23
|
39419 | ||
|
1
marrask. 24
|
2143 | ||
|
2
heinäk. 19
|
4433 | ||
Someone Deleted Default and Public users
Ratkaistu
|
|
2
maalisk. 24
|
5628 |