Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3 Odpovědi
25468 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
2005
4
dub 24
175182
0
pro 23
2712
5
čvc 25
230843
1
pro 22
3877