Odoo Help


ean13 Validation from Product

on 2/5/16, 10:37 AM 876 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
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

About This Community

This platform 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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


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