跳至內容
選單
此問題已被標幟
1 回覆
3671 瀏覽次數

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;

頭像
捨棄
最佳答案

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.

頭像
捨棄
作者

thnx

相關帖文 回覆 瀏覽次數 活動
1
6月 25
24749
2
7月 22
4048
3
9月 21
8471
2
9月 21
9280
1
9月 21
2923