Hello guys, i was wondering if someone has any idea how to force a logged in user to complete the account details before go anywhere else in the website using the portal.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Księgowość
- Zapasy
- PoS
- Project
- MRP
To pytanie dostało ostrzeżenie
Hi Andreas,
As of now, we don't have this option in odoo where the user is forced to complete his account info using the web portal. But you can create a custom addon and check if the user has completely filled in the details or not, if they haven't filled in, you can redirect them to a specific page with the help of a controller that requires them to complete the account details.
Thanks
Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj sięPowiązane posty | Odpowiedzi | Widoki | Czynność | |
---|---|---|---|---|
|
1
sty 23
|
4278 | ||
Odoo 15 Users
Rozwiązane
|
|
1
maj 22
|
3185 | |
|
1
lip 21
|
8097 | ||
|
0
kwi 25
|
4205 | ||
|
1
sty 23
|
5693 |
Hi Savya, thank you for your quick response, because i am new using odoo there is any example controller that will be used to redirect to the details page? I am also thinking that maybe will be required a field on the res.partner model that will check if the user completed their details. Please correct me i am wrong. Thanks in advance.
Yes, I have attached a video tutorial of controllers, using that you can write a python function and check if the details in user related partner is filled, eg: phone, email, address etc and render the template to fill in accordingly
Thank you very much for you help Savya !!