Hello ,
I want to auto generate barcode for items
can i do that ?
Hi, can you be more specific about what you’re trying to do? There’s a Barcode field type that can be used to display a barcode in the form view:
https://frappeframework.com/docs/user/en/basics/doctypes/fieldtypes#barcode
Here’s a demo app for printing QR Codes in a normal print format:
You can also use raw printing to print barcodes using a label printer:
Hi ,
I want a barcode to be generated automatically when creating a new product instead of typing it manually
There are many discussion about this here, the main reason why there is no barcode generator on ERPNext is that it is complicated and there are many barcode types so they can not implement all of them, but each type requires it’s own specs, so it is very clear if you want to generate EAN barcodes, there is country code, company code, there will be a auto generated section and control number, and so on for others. i do not know why there is no generator either.
I think there’s still some confusion here. EAN / GTIN are numbers, generated according to some specification. Barcodes or QR Codes are a way of displaying information.
How to display any information as Barcode / QR code is described in my post above. You could, for example, generate a barcode for your internal item numbers and use that in your warehouse.
If you want to generate new GTINs for your company’s products, you could do that with some Custom Fields and a Server Script or Client Script.
You can’t generate your own GTIN numbers as you wish, you need to apply to get them.
You are right, but we are (at least i am) talking about generating EAN, not the bars, you can not generate EAN on ERPNext, think you are manufacturer, you produced your item, how can you assign a EAN to your item? (go somewhere else generate your EAN and came back ERPNext then insert it.)
Also we should not bother to tweak system to get barcode, this is ERP and Barcode mechanism is one of the core element.
ERPNext should (Must) support Generating EAN/GTIN and other types, and also printing them, also mass/bulk printing them etc.
Indeed, you have to get an EAN number from a registered organisation/reseller, it’s not something you just make up, otherwise your number could clash with another manufacturer. THe blog post belowe might help.
You are right if i am selling internationally, or in a market place where my number can conflict with others, amazon requires unique barcode codes, but i don’t sell on amazon, i want it to be in an EAN format, and generates automatically, i may decide to register later, it doesn’t matter whether it is made up or bought from an authority. do not stick to idea that it has to be official, it doesn’t have to be.