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

Hello, 

i have a module which contains IP for some machines, i want to ping the IP, and show the status of the ping inside odoo.

 i have a field for the IP and a field for its ping status. 

how to make the status field change? can i use a button to ping the IP and change the status depending on the output?

if so, can you help me doing that, and i don't mind any other suggestion :)

Thanks;

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

The simplest way to handle this would be to open an Action Window​ that runs a Wizard. The wizard would consist of a field "IP address" and a button "Ping". When the action window closes, it can pass the IP address and ping status to fields on the form.

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

thnx

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 6 25
24957
2
thg 7 22
4137
3
thg 9 21
8548
2
thg 9 21
9422
1
thg 9 21
2998