İçereği Atla
Menü
Bu soru işaretlendi
2 Cevaplar
4696 Görünümler

Could someone please explain the significance of context

for e.g.

self.write(cr,uid,ids,vals,context)

I thought it was to set the correct create_date and create_uid in the database, but it doesn't seem to have any impact even when I remove context from the function call

Avatar
Vazgeç
En İyi Yanıt

context is used to pass data to methods, pls check this topic for more explanation

Avatar
Vazgeç
Üretici

Thanks Tarek. This helps.

İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Oca 25
1319
0
Tem 22
2423
3
Eyl 20
3077
0
Mar 15
3401
2
Mar 15
6535