Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
3 Risposte
25344 Visualizzazioni
_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
Abbandona
Risposta migliore

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

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
mar 25
1833
4
apr 24
174867
0
dic 23
2532
5
lug 25
230075
1
dic 22
3679