Skip to Content
Menu
This question has been flagged
3 Replies
23799 Views
_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
Discard
Best Answer

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

Avatar
Discard
Related Posts Replies Views Activity
4
Apr 24
170740
0
Dec 23
610
5
Nov 24
217151
1
Dec 22
1693
2
Nov 22
1681