İçereği Atla
Menü
Bu soru işaretlendi
2 Cevaplar
4774 Görünümler

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
Vazgeç
En İyi Yanıt

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

Avatar
Vazgeç
En İyi Yanıt


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
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
2
Oca 22
1555
0
Haz 21
2688
3
Kas 19
12807
0
Haz 15
3093
1
Mar 15
3715