Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
3 Replies
25250 Tampilan
_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
Buang
Jawaban Terbai

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

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
0
Mar 25
1736
4
Apr 24
174738
0
Des 23
2451
5
Jul 25
229702
1
Des 22
3606