تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
3281 أدوات العرض

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
فبراير 25
23844
2
يوليو 22
3728
3
سبتمبر 21
8118
2
سبتمبر 21
8815
1
سبتمبر 21
2696