コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
7822 ビュー

Any suggestion is welcome :)

アバター
破棄
最善の回答

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.

関連投稿 返信 ビュー 活動
3
1月 24
18096
1
6月 24
11006
1
3月 15
7013
2
3月 15
7339
1
7月 16
4232