Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3 Odpovědi
24958 Zobrazení
_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šit
Nejlepší odpověď

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

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
bře 25
1306
4
dub 24
174139
0
pro 23
2082
5
čvc 25
227745
1
pro 22
3187