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
답글
4662
화면
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
|
1486 | ||
|
0
6월 21
|
2589 | ||
|
3
11월 19
|
12610 | ||
|
0
6월 15
|
3033 | ||
|
1
3월 15
|
3651 |