Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
7838 Widoki

Any suggestion is welcome :)

Awatar
Odrzuć
Najlepsza odpowiedź

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

init method execute install and update time.

Awatar
Odrzuć
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.

Powiązane posty Odpowiedzi Widoki Czynność
3
sty 24
18150
1
cze 24
11045
1
mar 15
7053
2
mar 15
7371
1
lip 16
4249