Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
7825 Lượt xem

Any suggestion is welcome :)

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

init method execute install and update time.

Ảnh đại diện
Huỷ bỏ
Tác giả

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.

Tác giả

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?

Tác giả

Yes, the module is to help in managing activities related to GDPR.

Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 1 24
18099
1
thg 6 24
11012
1
thg 3 15
7013
2
thg 3 15
7339
1
thg 7 16
4233