Skip to Content
Menu
This question has been flagged
3 Replies
25023 Rodiniai
_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

Portretas
Atmesti
Best Answer

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

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
0
kov. 25
1381
4
bal. 24
174296
0
gruod. 23
2184
5
liep. 25
228108
1
gruod. 22
3301