Skip to Content
Menu
This question has been flagged
3 Replies
24968 Zobrazenia
_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
Zrušiť
Best Answer

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

Avatar
Zrušiť
Related Posts Replies Zobrazenia Aktivita
0
mar 25
1312
4
apr 24
174158
0
dec 23
2082
5
júl 25
227780
1
dec 22
3214