[ 
https://issues.apache.org/jira/browse/OFBIZ-10743?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16801606#comment-16801606
 ] 

Pritam Kute commented on OFBIZ-10743:
-------------------------------------

Nice catch [~pawan.verma]

IMO, we should go for using code 128 instead of code 39 as it supports 
sufficient character set. Code128 is already supported by barcode4j. Many 
barcode scanners also support the same.

An example implementation can be found 
[http://barcode4j.sourceforge.net/2.1/symbol-code128.html|here]

We just need to update code39 to code128 in the file ProductBarCode.fo.ftl as 
follows:

{code:java}
<barcode:code128>
  <barcode:height>0.75in</barcode:height>
  <barcode:module-width>.375mm</barcode:module-width>
</barcode:code128>
{code}

Please let me know if I am missing something. I will upload the patch soon!

> Error message is populating while clicking on product barcode
> -------------------------------------------------------------
>
>                 Key: OFBIZ-10743
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10743
>             Project: OFBiz
>          Issue Type: Bug
>    Affects Versions: Trunk, Release Branch 16.11, Release Branch 17.12
>            Reporter: Ashish Sharma
>            Assignee: Pawan Verma
>            Priority: Major
>         Attachments: Screen Shot 2018-12-22 at 4.01.34 PM.png
>
>
> *Step to reproduce*
> Login with valid username and password.
> Navigate to Catalog->Product.
> Search for product (Please enter ‘a’ alphabet)
> Click on barcode
>  
> *Expected result:* Product barcode details should be displayed.
> *Actual result:*  Error message is populating while clicking on product 
> barcode.
>  
> Note:- Issue exist for some product (Forklift - Propane, Forklift - Battery, 
> Company Vehicle, Heating/Cooling Unit, Demo Product for Costing, Demo 
> Material A for Costing and Demo Material B for Costing) 
> Screen-print attached.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to