Odoo Help


How do you disable ean13 validation?

on 8/6/13, 3:33 PM 3,958 views

If anyone does not know this directly, where at least is located the script that control product importing validation?? Thanks!

Ruchir Shukla
On 8/6/13, 5:24 PM

Hello Matheus !

Just inherit product.product and override the _constraints and _check_ean_key for ean13. remove the validation from the function and make it working as you want .

Example is here


however, POS will still have some constraints when using the gun reader..%

Smart Way Business Solutions, Anas Taji
on 8/7/13, 3:50 AM

The add point_of_sale in your depenc in __openerp__ file.

Ruchir Shukla
on 8/7/13, 4:21 AM


Ruchir Shukla
on 6/18/14, 7:54 AM

This module for Odoo 8 ? Thanks

Erdal Tuna
on 2/21/15, 7:16 AM

@erdal Tuna No it is not yet migrated or tested for v8 . But most probably it will work.

Ruchir Shukla
on 2/21/15, 7:20 AM

@Ruchir Shukla Thanks for fast reply :) I need disable EAN Code on Odoo8, but i cant :( Can you do this ?

Erdal Tuna
on 2/21/15, 7:44 AM

@erdal yes sir

Ruchir Shukla
on 2/21/15, 7:48 AM

@Ruchir Shukla, How do I do it ? :(

Erdal Tuna
on 2/21/15, 8:01 AM

for V8 checkout 8.0 branch

Ruchir Shukla
on 2/21/15, 8:03 AM

@Ruchir Shukla , I need new product create but , EAN Validation error came always. How can i disable ean validation V8. Sorry for my broken English.

Erdal Tuna
on 2/21/15, 8:24 AM

Serpent Consulting Services Pvt. Ltd.

--Serpent Consulting Services Pvt. Ltd.--
Serpent Consulting Services Pvt. Ltd.
| 6 6 8
Gandhinagar, India
--Serpent Consulting Services Pvt. Ltd.--

Serpent Consulting Services Pvt. Ltd. Your Odoo/OpenERP Solution, just an email away!

Serpent Consulting Services Pvt. Ltd.
On 6/21/14, 12:19 PM


Install the module from https://bitbucket.org/BizzAppDev/product_ean13_validation_remove.

Rest will be all yours.


Erdal Tuna
On 5/5/14, 11:51 AM

I dont understand all answers, How can i disable ean13 validation. Please help.

Please explain step by step.


Bernard Wilmus
On 1/29/15, 1:42 PM


The module that you can find here allows you to create product with a value inside EAN13 fields that is not a EAN13 but an other type of barcode.


BUT, this module do not modify the behavior of the POS when you scan the barcode of a product.
If you scan a UPC code (12 digits), the javascript in devices.js add a leading 0 to the scanned barcode in order to match the EAN patern (13 digits). So, the search of products failed and you receive a warning message...

Does anyone know how to modify the device.js to let us allow the use of any barcode with the POS?



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

0 follower(s)


Asked: 8/6/13, 3:33 PM
Seen: 3958 times
Last updated: 3/16/15, 8:10 AM