Any suggestion is welcome :)
Această întrebare a fost marcată
you can use def init(self): method inside the model and put your code over there.
init method execute install and update time.
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.
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?
Yes, the module is to help in managing activities related to GDPR.
Îți place discuția? Nu doar citi, alătură-te!
Creează-ți un cont astăzi pentru a beneficia de funcții exclusive și a interacționa cu minunata noastră comunitate!
Înscrie-te| Postări similare | Răspunsuri | Vizualizări | Activitate | |
|---|---|---|---|---|
|
|
3
ian. 24
|
20910 | ||
|
|
1
iun. 24
|
13540 | ||
|
|
1
mar. 15
|
9832 | ||
|
|
2
mar. 15
|
9979 | ||
|
|
1
iul. 16
|
6092 |