Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
3 Respostas
24961 Visualizações
_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
Cancelar
Melhor resposta

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

Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
0
mar. 25
1306
4
abr. 24
174144
0
dez. 23
2082
5
jul. 25
227752
1
dez. 22
3189