Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
3 Antwoorden
24957 Weergaven
_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
Annuleer
Beste antwoord

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

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
0
mrt. 25
1306
4
apr. 24
174135
0
dec. 23
2081
5
jul. 25
227738
1
dec. 22
3186