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
This question has been flagged
2
Odgovori
6128
Prikazi
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
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Prijavi| Related Posts | Odgovori | Prikazi | Aktivnost | |
|---|---|---|---|---|
|
|
2
jan. 22
|
2675 | ||
|
|
0
jun. 21
|
3721 | ||
|
|
3
nov. 19
|
14826 | ||
|
|
0
jun. 15
|
4366 | ||
|
|
1
mar. 15
|
4997 |