Skip to Content
Menú
This question has been flagged
2 Respostes
4668 Vistes

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
Descartar
Best Answer

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

Avatar
Descartar
Autor

Thanks Tarek. This helps.

Related Posts Respostes Vistes Activitat
1
de gen. 25
1279
0
de jul. 22
2390
3
de set. 20
3057
0
de març 15
3368
2
de març 15
6503