Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
2 Antworten
4632 Ansichten

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
Verwerfen
Beste Antwort

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

Avatar
Verwerfen
Autor

Thanks Tarek. This helps.

Verknüpfte Beiträge Antworten Ansichten Aktivität
1
Jan. 25
1231
0
Juli 22
2334
3
Sept. 20
3007
0
März 15
3325
2
März 15
6453