Odoo Help


Check EAN code in a script

Coralie Cardon
on 2/9/16, 10:39 AM 1,047 views


I import data for my product with a script,

I have an EAN code for each product. 

In my script, How can i do for check if the ean code is available ? 

And if isn't, How can i change it ? Without change any the code (all the number of the code)


what do you mean by "Without change any the code (all the number of the code)"

Jérémy Kersten (jke)
on 2/15/16, 4:19 AM

I would like to return an available code but not totatly change the code (ex : if the code is 1234567891234 you change with 5986895689568) you see ?

BHC SPRL, Coralie Cardon
on 2/15/16, 4:21 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/9/16, 10:39 AM
Seen: 1047 times
Last updated: 2/9/16, 2:09 PM