İçereği Atla
Menü
Bu soru işaretlendi
3 Cevaplar
25555 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
2103
4
Nis 24
175379
0
Ara 23
2786
5
Tem 25
231255
1
Ara 22
3999