Skip to Content
Menu
This question has been flagged

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
Discard
Best Answer

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
Discard
Author

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

Author

ok niyas thank you soo much

Related Posts Replies Views Activity
2
Jan 20
2487
2
Sep 21
2917
0
Feb 21
2263
1
Nov 23
428
2
Feb 23
4655