Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odgovori
4728 Prikazi

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

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

Avatar
Opusti
Avtor

Thanks Tarek. This helps.

Related Posts Odgovori Prikazi Aktivnost
1
jan. 25
1411
0
jul. 22
2467
3
sep. 20
3127
0
mar. 15
3458
2
mar. 15
6595