Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
4722 Vizualizări

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

Imagine profil
Abandonează
Cel mai bun răspuns

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

Imagine profil
Abandonează
Autor

Thanks Tarek. This helps.

Related Posts Răspunsuri Vizualizări Activitate
1
ian. 25
1399
0
iul. 22
2462
3
sept. 20
3118
0
mar. 15
3447
2
mar. 15
6583