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:
- CRM
- e-Commerce
- 会計
- 在庫
- PoS
- Project
- MRP
この質問にフラグが付けられました
2
返信
4840
ビュー
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
|
1616 | ||
|
0
6月 21
|
2739 | ||
|
3
11月 19
|
12896 | ||
|
0
6月 15
|
3178 | ||
|
1
3月 15
|
3774 |