Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2 Ответы
4724 Представления

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

Аватар
Отменить
Лучший ответ

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

Аватар
Отменить
Автор

Thanks Tarek. This helps.

Related Posts Ответы Просмотры Активность
1
янв. 25
1411
0
июл. 22
2464
3
сент. 20
3126
0
мар. 15
3455
2
мар. 15
6593