Greetings,
i couldn't find a solution.
I have multiple domains with the same odoo instance and I would like, when a customer registers from a specific domain, that the website field (Website_id) is automatically populated in relation to the domain used during registration.
The solution might be to create an automatic action, but I need a Python instruction that allows me to create this automatism.
Could someone give me some suggestions
Thanks
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Księgowość
- Zapasy
- PoS
- Projekt
- MRP
To pytanie dostało ostrzeżenie
1
Odpowiedz
1522
Widoki
Hi, (i don't have a lot oyou can trigger an automated action on create res_users but i dont think that yout can find which url the user come from. Maybe you have to override the login controller in the sources and add a line writing your fied.
Bye
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
gru 25
|
427 | ||
|
|
3
wrz 25
|
3856 | ||
|
|
0
sie 25
|
1230 | ||
|
|
1
sie 25
|
3642 | ||
|
|
2
lip 25
|
9288 |