Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
4188 Zobrazení

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?

Avatar
Zrušit
Autor Nejlepší odpověď

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

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
dub 17
4744
0
čvc 24
878
1
led 24
14257
3
srp 20
5694
1
dub 20
8915