İçereği Atla
Menü
Bu soru işaretlendi
3 Cevaplar
25106 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
1555
4
Nis 24
174442
0
Ara 23
2312
5
Tem 25
228736
1
Ara 22
3453