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

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

Related Posts ตอบกลับ มุมมอง กิจกรรม
1
มิ.ย. 25
25013
2
ก.ค. 22
4195
3
ก.ย. 21
8611
2
ก.ย. 21
9470
1
ก.ย. 21
3036