Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
4719 Zobrazení

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
Zrušit
Nejlepší odpověď

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

Avatar
Zrušit
Nejlepší odpověď


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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
2
led 22
1523
0
čvn 21
2634
3
lis 19
12710
0
čvn 15
3055
1
bře 15
3682