Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
3 Risposte
25272 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
1748
4
apr 24
174745
0
dic 23
2481
5
lug 25
229766
1
dic 22
3611