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

POS weight rounding to the second decimal despite changing the decimal precision to 3

S'inscrire

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

Cette question a été signalée
uiposUnit of MeasureDecimal-precision
1 Répondre
2516 Vues
Avatar
Auri Gabriel

Even after making the adjustment to the decimal precision of the Product Unit of Measure, setting it to 3, I'm still running into the issue where the weight on the POS UI shows 3 decimal places but continues to be rounded to only 2 decimal places, basically adding an extra 0 on the third decimal place. 

For instance, if the input is 0.236, the user interface will display 0.240 kg.


Any ideas on how to fix this?

Edit: I found the rounding precision field on the unit of measure config :)

0
Avatar
Ignorer
Justin Richardson

I'm trying to do the same thing. Please let me know exactly how you got this to work.

Avatar
Christoph Farnleitner
Meilleure réponse

First of all:

Warning for Product Unit of Measure
The precision has been reduced for Product Unit of Measure.
Note that existing data WON'T be updated by this change.

As decimal precisions impact the whole system, this may cause critical issues.
E.g. reducing the precision could disturb your financial balance.

Therefore, changing decimal precisions in a running database is not recommended.

This means, while some Decimal Accuracy settings can be reverted, doing so may have unwanted side effects!

Thus, ensure this change actually works for you and does what you expect it to do in a test environment prior to changing your production environment (i.e.  in your test/staging environment, or at least in runbot.odoo.com)!


In any case, when the following is your situation:

You enter a Quantity of 0.236 and Odoo rounds it to 0.24 (or 0.240 in case you've increased the Decimal Accuracy* already)


... and instead you want it to actually reflect your input of 0.236:



*) Setting/increasing Decimal Accuracy:

Enable Developer Mode (see https://www.odoo.com/documentation/18.0/applications/general/developer_mode.html), then navigate to Settings -> Technical -> Database Structure --> Decimal Accuracy. From the list, find the record Product Unit of Measure and change Digits to 3 (note: trying to revert this back to a lower accuracy is what will return initially mentioned warning!). This will result in an output of 0.240 instead of 0.24.


Use higher precision for Units of Measure:

Then, in order to actually use a higher precision, navigate to Settings again and search for 'Units of Measure' (depending on the Apps installed this may return multiple results):

Here, click the Units of Measure link and open the Units of Measure Category of the Unit of Measure that needs a higher precision, i.e. 'Unit' in above example, and set the Rounding Precision accordingly (here, change it from 0.01 to 0.001):


Once saved, a new POS session (close and reopen the POS session) should allow you to use higher precision on Products using this Unit of Measure.

1
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 override conditional display of POS components (Odoo 15) Résolu
ui pos owl
Avatar
Avatar
1
janv. 23
4102
Kitchen printing printer other than odoo provided list
pos
Avatar
Avatar
1
nov. 25
281
POS Table Synchronization Issue Between Devices in Odoo v17 CE
pos
Avatar
Avatar
Avatar
2
nov. 25
2704
Refund and Discount access to admin user only for Pos selling
pos
Avatar
Avatar
1
nov. 25
480
Error in POS with gift cards when testing upgrade to 18
pos
Avatar
Avatar
Avatar
Avatar
3
oct. 25
2356
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