Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
3 Risposte
25301 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
1768
4
apr 24
174764
0
dic 23
2486
5
lug 25
229885
1
dic 22
3630