跳至内容
菜单
此问题已终结
1 回复
5941 查看

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

形象
丢弃
最佳答案

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

形象
丢弃
编写者

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

编写者

ok niyas thank you soo much

相关帖文 回复 查看 活动
2
1月 20
3639
2
9月 21
4983
0
2月 21
2264
1
11月 23
2028
2
2月 23
7448