Odoo Help


This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


ean13 Validation from Product

on 2/5/16, 10:37 AM 317 views

Hi there ... 

is there any way to get 

vaild "ean13" numbers ? 

because what ever i try to import the product i got error massage
s) `ean13` failed against a constraint: You provided an invalid "EAN13 Barcode" reference. 


Ahmed M.Elmubarak

--Ahmed M.Elmubarak--
| 5 3 5
--Ahmed M.Elmubarak--

Ahmed M.Elmubarak
On 2/6/16, 2:45 AM


It should be of length 13, and with specific check-sum, the ean13 check-sum checked by this function 

You can also read bout it 

Hope this could help.

but i need numbers of type ean13 to my product , what i do to get them ?

on 2/6/16, 6:45 AM

You can use a barcode reader. or use a ean13 generate. just google ean13 generator ...

Ahmed M.Elmubarak
on 2/7/16, 8:51 AM

thanks.. this python code to Generate Random EAN13 Numbers http://www.cocept.io/development/2014/random-ean13-number-generator

on 2/8/16, 3:52 PM

Happy that it helps you ...

Ahmed M.Elmubarak
on 2/9/16, 2:40 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


Asked: 2/5/16, 10:37 AM
Seen: 317 times
Last updated: 2/8/16, 3:53 PM