Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
3 Risposte
25093 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
1550
4
apr 24
174432
0
dic 23
2309
5
lug 25
228704
1
dic 22
3451