İçereği Atla
Menü
Bu soru işaretlendi
3 Cevaplar
25298 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
1767
4
Nis 24
174759
0
Ara 23
2486
5
Tem 25
229869
1
Ara 22
3626