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
- Comptabilitat
- Inventari
- PoS
- Projectes
- MRP
This question has been flagged
1
Respondre
1529
Vistes
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
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Registrar-se| Related Posts | Respostes | Vistes | Activitat | |
|---|---|---|---|---|
|
|
1
de des. 25
|
427 | ||
|
|
3
de set. 25
|
3856 | ||
|
|
0
d’ag. 25
|
1230 | ||
|
|
1
d’ag. 25
|
3642 | ||
|
|
2
de jul. 25
|
9288 |