Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
4197 Представления

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
4755
0
июл. 24
899
1
янв. 24
14265
3
авг. 20
5702
1
апр. 20
8932