Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
3 Odpowiedzi
24973 Widoki
_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

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
mar 25
1316
4
kwi 24
174165
0
gru 23
2087
5
lip 25
227795
1
gru 22
3217