Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
2 Vastaukset
4820 Näkymät

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
Hylkää
Paras vastaus

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

Avatar
Hylkää
Tekijä

Thanks Tarek. This helps.

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
tammik. 25
1529
0
heinäk. 22
2560
3
syysk. 20
3232
0
maalisk. 15
3528
2
maalisk. 15
6677