Skip to Content
Odoo Меню
  • Увійти
  • Спробуйте це безкоштовно
  • Додатки
    Фінанси
    • Бухоблік
    • Виставлення рахунку
    • Витрати
    • Електронні таблиці (BI)
    • Документи
    • Підпис
    Продажі
    • CRM
    • Продажі
    • POS Магазин
    • POS Ресторан
    • Підписки
    • Оренда
    Веб-сайти
    • Конструктор веб-сайту
    • Електронна комерція
    • Блог
    • Форум
    • Живий чат
    • Електронне навчання
    Ланцюг поставок
    • Склад
    • Виробництво
    • PLM
    • Купівлі
    • Технічне обслуговування
    • Якість
    Кадри
    • Співробітники
    • Рекрутинг
    • Відпустки
    • Оцінювання
    • Рекомендації
    • Автотранспорт
    Маркетинг
    • Маркетинг соцмереж
    • Email-маркетинг
    • SMS-маркетинг
    • Події
    • Автом. маркетингу
    • Опитування
    Послуги
    • Проект
    • Табелі
    • Виїзне обслуговування
    • Служба підтримки
    • Планування
    • Призначення
    Продуктивність
    • Обговорення
    • Схвалення
    • IoT
    • IP-телефонія
    • База знань
    • WhatsApp
    Сторонні модулі Odoo Studio Платформа Odoo Cloud
  • Сфери
    Роздрібна торгівля
    • Книжковий магазин
    • Магазин одягу
    • Магазин меблів
    • Продуктовий магазин
    • Магазин будівельних матеріалів
    • Магазин іграшок
    Food & Hospitality
    • Бар та паб
    • Ресторан
    • Фастфуд
    • Guest House
    • Дистриб'ютор напоїв
    • Hotel
    Нерухомість
    • Real Estate Agency
    • Архітектурна фірма
    • Будівництво
    • Управління нерухомістю
    • Садівництво
    • Асоціація власників нерухомості
    Консалтинг
    • Бухгалтерська компанія
    • Партнер Odoo
    • Агенція маркетингу
    • Юридична фірма
    • Придбання Талантів
    • Аудит та сертифікація
    Виробництво
    • Textile
    • Metal
    • Меблі
    • Їжа
    • Brewery
    • Корпоративні подарунки
    Здоров'я & Фітнес
    • Спортивний клуб
    • Оптика
    • Фітнес-центр
    • Практики здоров'я
    • Аптека
    • Салон краси
    Trades
    • Ремонтник
    • IT-обладнання та Підтримка
    • Системи сонячної енергії
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Інші
    • Nonprofit Organization
    • Екологічна агенція
    • Оренда білбордів
    • Фотографія
    • Лізинг велосипедів
    • Реселлер програмного забезпечення
    Browse all Industries
  • Спільнота
    Навчання
    • Навчальний посібник
    • Документація
    • Сертифікації
    • Тренування
    • Блог
    • Подкаст
    Сприяйте Освіті
    • Програма навчання
    • Бізнес гра Scale Up!
    • Відвідайте Odoo
    Отримайте програмне забезпечення
    • Завантаження
    • Порівняйте версії
    • Релізи
    Співпрацюйте
    • Github
    • Форум
    • Події
    • Переклади
    • Стати партнером
    • Services for Partners
    • Зареєструйте вашу бухгалтерську фірму
    Отримайте послуги
    • Знайдіть партнера
    • Знайдіть бухгалтера
    • Зустріньтеся з консультантом
    • Послуги з впровадження
    • Референси клієнтів
    • Підтримка
    • Оновлення
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Отримати демо
  • Ціни
  • Допомога

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

  • CRM
  • e-Commerce
  • Бухоблік
  • Склад
  • PoS
  • Проект
  • MRP
All apps
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
All Posts Люди Значки
Мітки (View all)
odoo accounting v14 pos v15
Про цей форум
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
All Posts Люди Значки
Мітки (View all)
odoo accounting v14 pos v15
Про цей форум
Допомога

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

Підписатися

Отримуйте сповіщення про активність щодо цієї публікації

Це запитання позначене
uiposUnit of MeasureDecimal-precision
1 Відповісти
2510 Переглядів
Аватар
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
Аватар
Відмінити
Justin Richardson

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

Аватар
Christoph Farnleitner
Найкраща відповідь

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
Аватар
Відмінити
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Реєстрація
Related Posts Відповіді Переглядів Дія
How to override conditional display of POS components (Odoo 15) Вирішено
ui pos owl
Аватар
Аватар
1
січ. 23
4101
Kitchen printing printer other than odoo provided list
pos
Аватар
Аватар
1
лист. 25
280
POS Table Synchronization Issue Between Devices in Odoo v17 CE
pos
Аватар
Аватар
Аватар
2
лист. 25
2702
Refund and Discount access to admin user only for Pos selling
pos
Аватар
Аватар
1
лист. 25
479
Error in POS with gift cards when testing upgrade to 18
pos
Аватар
Аватар
Аватар
Аватар
3
жовт. 25
2354
Спільнота
  • Навчальний посібник
  • Документація
  • Форум
Open Source
  • Завантаження
  • Github
  • Runbot
  • Переклади
Послуги
  • Хостинг Odoo.sh
  • Підтримка
  • Оновлення
  • Кастомні доробки
  • Навчання
  • Знайдіть бухгалтера
  • Знайдіть партнера
  • Стати партнером
Про нас
  • Наша компанія
  • Торгові активи
  • Зв'яжіться з нами
  • Вакансії
  • Події
  • Подкаст
  • Блог
  • Клієнти
  • Юридичні документи • Конфіденційність
  • Безпека
الْعَرَبيّة 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 - це набір програм для роботи з відкритим кодом, які охоплюють всі ваші потреби компанії: CRM, електронна комерція, бухгалтерський облік, склад, точка продажу, управління проектами тощо.

Унікальна пропозиція Odoo - це одночасно дуже проста у використанні та повністю інтегрована.

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