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.


Check EAN code in a script

Coralie Cardon
on 2/9/16, 10:39 AM 390 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

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/9/16, 10:39 AM
Seen: 390 times
Last updated: 2/9/16, 2:09 PM