İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
5942 Görünümler

Hey i am using v11 and i wanna ask how can we add the functionality of barcode in Assets. Some guidance would be nice. Thanks in advance

Avatar
Vazgeç
En İyi Yanıt

Hi,

As in the product master, you can add a new char field to store the barcode value of the asset. And if you need to scan the barcode in some fields/places, you can place the mouse in the field and scan the barcode which will return corresponding value in that field, then using onchange function you can search this value in asset master.

You can refer how the product barcode is working and these module:

1. Barcode scanning in Inventory

2. How To Add Barcode To Report in Odoo

Thanks

Avatar
Vazgeç
Üretici

Hey Niyas! thanks for replying. One question from my side is that is it possible that when i create an asset it automatically generates a code for that asset? which will also be used for barcode. I dont want manual entry of code.

yes, you can define a sequence for the barcode and override the create method of the asset and assign the sequence as the barcode for the asset,

You can refer this module which generate auto barcode: https://apps.odoo.com/apps/modules/12.0/product_barcode/

for adding sequence: https://www.youtube.com/watch?v=ZfKzmfiqeg0&list=PLqRRLx0cl0hoJhjFWkFYowveq2Zn55dhM&index=8

Üretici

ok niyas thank you soo much

İlgili Gönderiler Cevaplar Görünümler Aktivite
2
Oca 20
3639
2
Eyl 21
4983
0
Şub 21
2264
1
Kas 23
2028
2
Şub 23
7448