Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
8175 Tampilan

Any suggestion is welcome :)

Avatar
Buang
Jawaban Terbai

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

init method execute install and update time.

Avatar
Buang
Penulis

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.

Penulis

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?

Penulis

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

Post Terkait Replies Tampilan Aktivitas
3
Jan 24
18423
1
Jun 24
11347
1
Mar 15
7346
2
Mar 15
7608
1
Jul 16
4458