İçereği Atla
Menü
Bu soru işaretlendi
3 Cevaplar
24962 Görünümler
_defaults = {
    'user_id': lambda self, cr, uid, context: uid,

need to clarify above code segment..? is it work as a function.? if yes self, cr, uid, context: uid are act as a parameters of that method.i'm confused with that phase

please help me

Avatar
Vazgeç
En İyi Yanıt

Lambda is not in OpenERP, its belong to python and work like anonymous function

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Mar 25
1308
4
Nis 24
174144
0
Ara 23
2082
5
Tem 25
227757
1
Ara 22
3190