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
- Contabilidad
- Inventario
- PoS
- Proyecto
- MRP
Se marcó esta pregunta
1
Responder
1506
Vistas
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
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
Inscribirse| Publicaciones relacionadas | Respuestas | Vistas | Actividad | |
|---|---|---|---|---|
|
|
1
dic 25
|
427 | ||
|
|
3
sept 25
|
3856 | ||
|
|
0
ago 25
|
1230 | ||
|
|
1
ago 25
|
3642 | ||
|
|
2
jul 25
|
9288 |