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

Hello community, I am developing a logistics module and I would like to incorporate qr codes to change from different states, when making a delivery.  for example, that the dealer when scanning a code this remission goes into a delivered state, in my experience I know that I can make a button that is responsible for performing the procedure, but is there any way that when reading a QR code then execute an python code?

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

I have solved it, I do not know if it is the most optimal but it has worked, when creating a referral a unique qr is generated which has a jasson encrypted, I create another independent module, named "qr", which only reads the code , the model only has an binary onchange field which when reading the jasson updates the states

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
เม.ย. 17
4743
0
ก.ค. 24
877
1
ม.ค. 24
14255
3
ส.ค. 20
5692
1
เม.ย. 20
8915