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
Se marcó esta pregunta
2
Respuestas
5910
Vistas
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
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
Registrarse| Publicaciones relacionadas | Respuestas | Vistas | Actividad | |
|---|---|---|---|---|
|
|
2
ene 22
|
2590 | ||
|
|
0
jun 21
|
3633 | ||
|
|
3
nov 19
|
14623 | ||
|
|
0
jun 15
|
4270 | ||
|
|
1
mar 15
|
4819 |