Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
3 Răspunsuri
24959 Vizualizări
_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

Imagine profil
Abandonează
Cel mai bun răspuns

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

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
0
mar. 25
1306
4
apr. 24
174143
0
dec. 23
2082
5
iul. 25
227749
1
dec. 22
3188