İçereği Atla
Menü
Bu soru işaretlendi
3 Cevaplar
25528 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
2070
4
Nis 24
175283
0
Ara 23
2759
5
Tem 25
231059
1
Ara 22
3949