Se rendre au contenu
Menu
Cette question a été signalée
2 Réponses
5028 Vues

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
Ignorer
Meilleure réponse

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

Avatar
Ignorer
Meilleure réponse


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
Ignorer
Publications associées Réponses Vues Activité
2
janv. 22
1767
0
juin 21
2869
3
nov. 19
13138
0
juin 15
3356
1
mars 15
3918