Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
8089 Visualizzazioni

Any suggestion is welcome :)

Avatar
Abbandona
Risposta migliore

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

init method execute install and update time.

Avatar
Abbandona
Autore

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.

Autore

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?

Autore

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

Post correlati Risposte Visualizzazioni Attività
3
gen 24
18354
1
giu 24
11262
1
mar 15
7271
2
mar 15
7534
1
lug 16
4388