Skip to Content
Menu
This question has been flagged
2 Replies
4818 Rodiniai

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

Portretas
Atmesti
Best Answer

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

Portretas
Atmesti
Autorius

Thanks Tarek. This helps.

Related Posts Replies Rodiniai Veikla
1
saus. 25
1529
0
liep. 22
2559
3
rugs. 20
3231
0
kov. 15
3527
2
kov. 15
6676