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?
Odoo is the world's easiest all-in-one management software.
 It includes hundreds of business apps:
- 客戶關係
- e-Commerce
- 會計
- 庫存
- PoS
- Project
- MRP
此問題已被標幟
            
                1
                
                    回覆
                
            
        
        
            
                4563
                
                    瀏覽次數
                
            
        
    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
| 相關帖文 | 回覆 | 瀏覽次數 | 活動 | |
|---|---|---|---|---|
|  | 1 10月 25  | 5246 | ||
|  | 0 7月 24  | 1349 | ||
|  | 1 1月 24  | 15011 | ||
|  | 3 8月 20  | 6421 | ||
|  | 1 4月 20  | 9532 | 
