Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
2 Antwoorden
4593 Weergaven

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
Annuleer
Beste antwoord

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

Avatar
Annuleer
Beste antwoord


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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
2
jan. 22
1421
0
jun. 21
2530
3
nov. 19
12510
0
jun. 15
2950
1
mrt. 15
3593