Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
2 Antworten
4573 Ansichten

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

Avatar
Verwerfen
Beste Antwort

env.user should be the current user and env.uid is the user id 
 

Avatar
Verwerfen
Beste Antwort


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

Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
2
Jan. 22
1408
0
Juni 21
2513
3
Nov. 19
12499
0
Juni 15
2920
1
März 15
3571