Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
3 Risposte
24967 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
1312
4
apr 24
174157
0
dic 23
2082
5
lug 25
227780
1
dic 22
3214