Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
5912 Ansichten

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
Verwerfen
Beste Antwort

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
Verwerfen
Autor

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

Autor

ok niyas thank you soo much

Verknüpfte Beiträge Antworten Ansichten Aktivität
2
Jan. 20
3596
2
Sept. 21
4967
0
Feb. 21
2264
1
Nov. 23
1979
2
Feb. 23
7436