Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2 Replies
4701 Tampilan

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
Buang
Jawaban Terbai

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

Avatar
Buang
Penulis

Thanks Tarek. This helps.

Post Terkait Replies Tampilan Aktivitas
1
Jan 25
1339
0
Jul 22
2429
3
Sep 20
3082
0
Mar 15
3406
2
Mar 15
6539