Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
4710 Vistas

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
Descartar
Mejor respuesta

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

Avatar
Descartar
Mejor respuesta


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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
2
ene 22
1520
0
jun 21
2629
3
nov 19
12683
0
jun 15
3050
1
mar 15
3680