콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
4662 화면

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

아바타
취소
베스트 답변

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