Help

2

Significance of context ?

Avatar
Shawn Varghese

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
Discard
1 Answer
4
Best Answer

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

1 Comment
Avatar
Discard
Avatar
Shawn Varghese
-

Thanks Tarek. This helps.