Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
7795 มุมมอง

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.

Related Posts ตอบกลับ มุมมอง กิจกรรม
3
ม.ค. 24
18066
1
มิ.ย. 24
10970
1
มี.ค. 15
6988
2
มี.ค. 15
7315
1
ก.ค. 16
4226