Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
3 Besvarelser
25005 Visninger
_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
Kassér
Bedste svar

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

Avatar
Kassér
Related Posts Besvarelser Visninger Aktivitet
0
mar. 25
1365
4
apr. 24
174252
0
dec. 23
2157
5
jul. 25
228002
1
dec. 22
3276