Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
4693 Widoki

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

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Autor

Thanks Tarek. This helps.

Powiązane posty Odpowiedzi Widoki Czynność
1
sty 25
1313
0
lip 22
2421
3
wrz 20
3075
0
mar 15
3400
2
mar 15
6527