Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
4178 Visualizzazioni

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
Abbandona
Autore Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
apr 17
4737
0
lug 24
875
1
gen 24
14253
3
ago 20
5692
1
apr 20
8915