Skip to Content
Menu
This question has been flagged
2 Replies
5306 Zobrazenia

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
Zrušiť
Best Answer

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

Avatar
Zrušiť
Autor

Thanks Tarek. This helps.

Related Posts Replies Zobrazenia Aktivita
1
jan 25
1907
0
júl 22
3017
3
sep 20
3609
0
mar 15
3931
2
mar 15
7123