Hey I want to log message for specific user on sale order using automated action but I don't know how to add user name in python code so it will automatically pick that user to log message against it
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- Project
- MRP
此问题已终结
2
回复
4603
查看
env.user should be the current user and env.uid is the user id
hello
In the odoo framewrok you have a very useful tool to make automated fields. In odoo they are called compute fields
I suggest you read this documentation and learn how you can use this type of smart field.
@ api.depends
相关帖文 | 回复 | 查看 | 活动 | |
---|---|---|---|---|
|
2
1月 22
|
1429 | ||
|
0
6月 21
|
2543 | ||
|
3
11月 19
|
12522 | ||
|
0
6月 15
|
2955 | ||
|
1
3月 15
|
3613 |