Ir al contenido
Menú
Se marcó esta pregunta
3 Respuestas
24977 Vistas
_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
Descartar
Mejor respuesta

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

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
mar 25
1319
4
abr 24
174167
0
dic 23
2089
5
jul 25
227818
1
dic 22
3218