Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
2 Antwoorden
4721 Weergaven

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
Annuleer
Beste antwoord

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

Avatar
Annuleer
Auteur

Thanks Tarek. This helps.

Gerelateerde posts Antwoorden Weergaven Activiteit
1
jan. 25
1395
0
jul. 22
2461
3
sep. 20
3115
0
mrt. 15
3441
2
mrt. 15
6578