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

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
24878
2
7月 22
4114
3
9月 21
8529
2
9月 21
9383
1
9月 21
2982