I have a requirement where the in the scanner check the product if product barcode available then raise a sound that your product is found successfully and if not found than other msg raise so any idea to how can implements into odoo with a single device or current device?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- Müşteri İlişkileri Yönetimi
- e-Commerce
- Muhasebe
- Envanter
- PoS
- Project
- MRP
Bu soru işaretlendi
Hello Harshit,
You can take reference from point of sale module.
You need to have basic knowledge of odoo web framework and check the method called _barcodeScanned in barcode module
Inside that you can check if barcode is scanned successfully than play a voice.
$('body').append('<audio src="'+src+'" autoplay="true"></audio>');
here src will be the path of your sound file.
Thank you for answering Meet I found the solution to this question, I will post answer very soon to other helpful.
Good to hear that. Waiting for your solution . Cheers !!
Hello Meet do have any other idea to call music for barcode scanning bcz while I was calling $('body').append('<audio src="'+src+'" autoplay="true"></audio>'); it should be return but in barcode there not allowed return
In that case you can create a new event and use trigger up function to call the event. In this event you can put this $('body').append('<audio src="'+src+'" autoplay="true"></audio>'); code.
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Üye Olİlgili Gönderiler | Cevaplar | Görünümler | Aktivite | |
---|---|---|---|---|
|
0
Eki 21
|
1294 | ||
|
2
Ağu 19
|
3108 | ||
|
3
Oca 19
|
3318 | ||
odoo many2one as selection field
Çözüldü
|
|
2
Eyl 18
|
4178 | |
|
1
Tem 18
|
7870 |