Skip to Content
Menú
This question has been flagged
1 Respondre
7813 Vistes

Any suggestion is welcome :)

Avatar
Descartar
Best Answer

you can use def init(self): method inside the model and put your code over there.

init method execute install and update time.

Avatar
Descartar
Autor

Thanks for the hint but it is not a solution. I need an update after the installation of any module, including the standard one.

ok, Did you mean record update form the API? then you can use ir.cron.

you need to describe more what exactly you want.

Autor

I did not give a specific example because it is complicated. It is associated with GDPR and needs an online response (exclude cron). I will give a similar, simple example:

A field that counts the number of other fields in the entire system.

module for internal auditing/monitoring?

Autor

Yes, the module is to help in managing activities related to GDPR.

Related Posts Respostes Vistes Activitat
3
de gen. 24
18075
1
de juny 24
10978
1
de març 15
6997
2
de març 15
7331
1
de jul. 16
4230