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:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- 项目
- MRP
此问题已终结
1
回复
1521
查看
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
| 相关帖文 | 回复 | 查看 | 活动 | |
|---|---|---|---|---|
|
|
1
12月 25
|
427 | ||
|
|
3
9月 25
|
3856 | ||
|
|
0
8月 25
|
1230 | ||
|
|
1
8月 25
|
3642 | ||
|
|
2
7月 25
|
9288 |