Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
4653 Vistas

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
Mejor respuesta

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

Avatar
Descartar
Autor

Thanks Tarek. This helps.

Publicaciones relacionadas Respuestas Vistas Actividad
1
ene 25
1255
0
jul 22
2360
3
sept 20
3028
0
mar 15
3342
2
mar 15
6475