Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3 ตอบกลับ
25011 มุมมอง
_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

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
มี.ค. 25
1375
4
เม.ย. 24
174277
0
ธ.ค. 23
2172
5
ก.ค. 25
228049
1
ธ.ค. 22
3284