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.


How the button which generates a custom EAN code does make the generation?

michel Guénard
on 4/6/15, 3:49 PM 522 views

This button seems to be hard coded.

As a V8 Saas user, I found no way to identify how it works.

This would be helpful to generate such custom EAN OUTSIDE Odoo (excel/openoffice for instance) in order to create this custom code for hundreds of articles?

Does someone having access to the pyton code could paste it as an answer?


Cyril Gaspard (GEM)

--Cyril Gaspard (GEM)--
| 5 6 8
Paris, France
--Cyril Gaspard (GEM)--

Forum contributor since 2008

Cyril Gaspard (GEM)
On 4/6/15, 4:31 PM

this is not an official module and you can download it here:


Thanks for the link; I don't understand how the transformation is done from the string pasted to the function.

AD LIBITOM, michel Guénard
on 4/6/15, 6:05 PM

module use a sequence with prefix and suffix and increment number with + 1

Cyril Gaspard (GEM)
on 4/6/15, 7:53 PM

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: 4/6/15, 3:49 PM
Seen: 522 times
Last updated: 4/6/15, 4:31 PM