跳至內容
選單
此問題已被標幟
1 回覆
5919 瀏覽次數

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
3603
2
9月 21
4969
0
2月 21
2264
1
11月 23
1986
2
2月 23
7438