Se rendre au contenu
Odoo Menu
  • Se connecter
  • Essai gratuit
  • Applications
    Finance
    • Comptabilité
    • Facturation
    • Notes de frais
    • Feuilles de calcul (BI)
    • Documents
    • Signature
    Ventes
    • CRM
    • Ventes
    • PdV Boutique
    • PdV Restaurant
    • Abonnements
    • Location
    Sites web
    • Site Web
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Chaîne d'approvisionnement
    • Inventaire
    • Fabrication
    • PLM
    • Achats
    • Maintenance
    • Qualité
    Ressources Humaines
    • Employés
    • Recrutement
    • Congés
    • Évaluations
    • Recommandations
    • Parc automobile
    Marketing
    • Marketing Social
    • E-mail Marketing
    • SMS Marketing
    • Événements
    • Marketing Automation
    • Sondages
    Services
    • Projet
    • Feuilles de temps
    • Services sur Site
    • Assistance
    • Planification
    • Rendez-vous
    Productivité
    • Discussion
    • Validations
    • Internet des Objets
    • VoIP
    • Connaissances
    • WhatsApp
    Applications tierces Odoo Studio Plateforme Cloud d'Odoo
  • Industries
    Commerce de détail
    • Librairie
    • Magasin de vêtements
    • Magasin de meubles
    • Épicerie
    • Quincaillerie
    • Magasin de jouets
    Food & Hospitality
    • Bar et Pub
    • Restaurant
    • Fast-food
    • Maison d’hôtes
    • Distributeur de boissons
    • Hôtel
    Immobilier
    • Agence immobilière
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consultance
    • Cabinet d'expertise comptable
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Métal
    • Meubles
    • Alimentation
    • Brewery
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Trades
    • Bricoleur
    • Matériel informatique et support
    • Systèmes photovoltaïques
    • Cordonnier
    • Services de nettoyage
    • Services CVC
    Autres
    • Organisation à but non lucratif
    • Agence environnementale
    • Location de panneaux d'affichage
    • Photographie
    • Leasing de vélos
    • Revendeur de logiciel
    Browse all Industries
  • Communauté
    Apprenez
    • Tutoriels
    • Documentation
    • Certifications
    • Formation
    • Blog
    • Podcast
    Renforcer l'éducation
    • Programme éducatif
    • Business Game Scale-Up!
    • Rendez-nous visite
    Obtenir le logiciel
    • Téléchargement
    • Comparez les éditions
    • Versions
    Collaborer
    • Github
    • Forum
    • Événements
    • Traductions
    • Devenez partenaire
    • Services for Partners
    • Enregistrer votre cabinet comptable
    Nos Services
    • Trouver un partenaire
    • Trouver un comptable
    • Rencontrer un conseiller
    • Services de mise en œuvre
    • Références clients
    • Assistance
    • Mises à niveau
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obtenir une démonstration
  • Tarification
  • Aide

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Comptabilité
  • Inventaire
  • PoS
  • Projet
  • MRP
All apps
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Aide

Disable EAN13 Validation at the POS frontend

S'inscrire

Recevez une notification lorsqu'il y a de l'activité sur ce poste

Cette question a été signalée
posbarcodeean13
3 Réponses
8251 Vues
Avatar
Ali

I have disabled EAN13 validation in OpenERP product page. I have comment the line from /addons/products/product.py:

_constraints = [(_check_ean_key, 'You provided an invalid "EAN13 Barcode" reference.

Now I can enter any type of barcode and associate it with a product.

The problem is: when I use the barcode scanner to scan a non EAN13 barcode, the system doesn't recognize at the POS frontend. I understand it might has something to do with the device.js file, however, I'm not sure from where I start.

0
Avatar
Ignorer
Fabrice Henrion (fhe)

As a note, it has been reported that several scanners take care of the conversion from a certain barcode type to another barcode type (eg. from UPC to EAN13) themselves. It is then much easier to configure a scanner to convert a type into another one than to modify the source of OpenERP to get a new barcode type to be recognized and handled.

Avatar
Martin T
Meilleure réponse

The problem is not only disabling the EAN13 validation in OpenERP but also the scanner.

The EAN13 validation method is a way of decoding a barcode. Because the barcode itself is not correctly formatted it will not scan.

Maybe you can use a different barcode configuration in the barcode scanner (e.g. code 39)

If the barcode produce the same output as you do, when you manually entered the information it should work.

0
Avatar
Ignorer
Ali
Auteur

Thanks for your answer. It wouldn't be practical as we already have over 2000+ product entered to the system. The bar codes are a mix of UPC, EAN13, EAN8, UPC-E, UPC-A, ...etc. I'm looking into some direction to modify the device.js and perhaps the db.js and remove the EAN13 validation. There are certain ean checksum rules in file that somehow discard all type of barcode except the EAN13.

Avatar
Sreedath Namangalam
Meilleure réponse

There is a function check_ean in devices.js in point_of_sale/static/src/js folder. Try customizing it and related functions.

0
Avatar
Ignorer
Avatar
Abigail111
Meilleure réponse

Hi there EAN-13 barcode is no so familiar with me.I want to know that if there is an advanced EAN-13 barcode recognition which supports to help me have a better understanding of how this barcode reading & scanning control decode and recognize EAN-13 barcode from document image files, we provide fully-featured demos and working examples written in C# code.Thanks a lot.

0
Avatar
Ignorer
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !

Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !

S'inscrire
Publications associées Réponses Vues Activité
How to use Barcode without EAN13? Résolu
barcodescanner pos barcode ean13
Avatar
Avatar
Avatar
Avatar
4
août 15
24415
How to use EAN13 barcode efficiently?
pos v7 barcode ean13
Avatar
1
mars 15
7650
Barcode scanning on POS Résolu
pos barcode
Avatar
Avatar
Avatar
2
oct. 25
11421
Odoo V15 – Use of Price Barcodes and Barcode Aliases
pos barcode
Avatar
0
juin 25
1640
Barcode not read in POS when adding to the cart
pos barcode
Avatar
0
févr. 25
1664
Communauté
  • Tutoriels
  • Documentation
  • Forum
Open Source
  • Téléchargement
  • Github
  • Runbot
  • Traductions
Services
  • Hébergement Odoo.sh
  • Assistance
  • Migration
  • Développements personnalisés
  • Éducation
  • Trouver un comptable
  • Trouver un partenaire
  • Devenez partenaire
À propos
  • Notre société
  • Actifs de la marque
  • Contactez-nous
  • Emplois
  • Événements
  • Podcast
  • Blog
  • Clients
  • Informations légales • Confidentialité
  • Sécurité.
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo est une suite d'applications open source couvrant tous les besoins de votre entreprise : CRM, eCommerce, Comptabilité, Inventaire, Point de Vente, Gestion de Projet, etc.

Le positionnement unique d'Odoo est d'être à la fois très facile à utiliser et totalement intégré.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now