跳至内容
菜单
此问题已终结
1 回复
7728 查看

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
17999
1
6月 24
10874
1
3月 15
6891
2
3月 15
7233
1
7月 16
4178