Skip to Content
Odoo Menu
  • Zaloguj się
  • Wypróbuj za darmo
  • Aplikacje
    Finanse
    • Księgowość
    • Fakturowanie
    • Wydatki
    • Arkusz kalkulacyjny (BI)
    • Dokumenty
    • Podpisy
    Sprzedaż
    • CRM
    • Sprzedaż
    • PoS Sklep
    • PoS Restauracja
    • Subskrypcje
    • Wypożyczalnia
    Strony Internetowe
    • Kreator Stron Internetowych
    • eCommerce
    • Blog
    • Forum
    • Czat na Żywo
    • eLearning
    Łańcuch dostaw
    • Magazyn
    • Produkcja
    • PLM
    • Zakupy
    • Konserwacja
    • Jakość
    Zasoby Ludzkie
    • Pracownicy
    • Rekrutacja
    • Urlopy
    • Ocena pracy
    • Polecenia Pracownicze
    • Flota
    Marketing
    • Marketing Społecznościowy
    • E-mail Marketing
    • SMS Marketing
    • Wydarzenia
    • Automatyzacja Marketingu
    • Ankiety
    Usługi
    • Projekt
    • Ewidencja czasu pracy
    • Usługi Terenowe
    • Helpdesk
    • Planowanie
    • Spotkania
    Produktywność
    • Dyskusje
    • Zatwierdzenia
    • IoT
    • VoIP
    • Baza wiedzy
    • WhatsApp
    Aplikacje trzecich stron Studio Odoo Odoo Cloud Platform
  • Branże
    Sprzedaż detaliczna
    • Księgarnia
    • Sklep odzieżowy
    • Sklep meblowy
    • Sklep spożywczy
    • Sklep z narzędziami
    • Sklep z zabawkami
    Żywienie i hotelarstwo
    • Bar i Pub
    • Restauracja
    • Fast Food
    • Pensjonat
    • Dystrybutor napojów
    • Hotel
    Agencja nieruchomości
    • Agencja nieruchomości
    • Biuro architektoniczne
    • Budowa
    • Zarządzanie nieruchomościami
    • Ogrodnictwo
    • Stowarzyszenie właścicieli nieruchomości
    Doradztwo
    • Biuro księgowe
    • Partner Odoo
    • Agencja marketingowa
    • Kancelaria prawna
    • Agencja rekrutacyjna
    • Audyt i certyfikacja
    Produkcja
    • Tekstylia
    • Metal
    • Meble
    • Jedzenie
    • Browar
    • Prezenty firmowe
    Zdrowie & Fitness
    • Klub sportowy
    • Salon optyczny
    • Centrum fitness
    • Praktycy Wellness
    • Apteka
    • Salon fryzjerski
    Transakcje
    • Złota rączka
    • Wsparcie Sprzętu IT
    • Systemy energii słonecznej
    • Szewc
    • Firma sprzątająca
    • Usługi HVAC
    Inne
    • Organizacja non-profit
    • Agencja Środowiskowa
    • Wynajem billboardów
    • Fotografia
    • Leasing rowerów
    • Sprzedawca oprogramowania
    Przeglądaj wszystkie branże
  • Community
    Ucz się
    • Samouczki
    • Dokumentacja
    • Certyfikacje
    • Szkolenie
    • Blog
    • Podcast
    Pomóż w nauce innym
    • Program Edukacyjny
    • Scale Up! Gra biznesowa
    • Odwiedź Odoo
    Skorzystaj z oprogramowania
    • Pobierz
    • Porównaj edycje
    • Wydania
    Współpracuj
    • Github
    • Forum
    • Wydarzenia
    • Tłumaczenia
    • Zostań partnerem
    • Usługi dla partnerów
    • Zarejestruj swoją firmę rachunkową
    Skorzystaj z usług
    • Znajdź partnera
    • Znajdź księgowego
    • Spotkaj się z doradcą
    • Usługi wdrożenia
    • Opinie klientów
    • Wsparcie
    • Aktualizacje
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Zaplanuj demo
  • Cennik
  • Pomoc

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

  • CRM
  • e-Commerce
  • Księgowość
  • Zapasy
  • PoS
  • Projekt
  • MRP
All apps
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
Wszystkie posty Osoby Odznaki
Tagi (Zobacz wszystko)
odoo accounting v14 pos v15
O tym forum
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
Wszystkie posty Osoby Odznaki
Tagi (Zobacz wszystko)
odoo accounting v14 pos v15
O tym forum
Pomoc

When using "." as thousands separator, and without decimals purchase order line understands it as decimal

Zaprenumeruj

Otrzymaj powiadomienie o aktywności w tym poście

To pytanie dostało ostrzeżenie
priceseparatorthousands
9 Odpowiedzi
10454 Widoki
Awatar
Ing. Daniel Blanco

I have configured an instance to use no decimals, and use "." as thousand separator. This is used this way un CLP (chilean pesos).

In this situation, when creating a purchase order, the price of the item in the purchase order line, (for example 134.990) removes 990 and try to use 135 as the price. So purchase order line price is being misinterpreted as decimal.

To avoid this, I had to remove the thousands separator and use simply 134990.

Is there a shortcut to solve this?

Thanks

 

1
Awatar
Odrzuć
Zbik

I have configured an instance......... more info about this, how and where?

Ing. Daniel Blanco
Autor

Where: Entering a new purchase order, then add a product to that purchase order with value like the one I specified. How: selarator defined as [3,0]. Thousands sep: "." Decimal sep "," (comma). also, the decimal precision is defined as "0". Because in CLP, decimals are not used.

Ing. Daniel Blanco
Autor

I cannot comment in your later post, but that was what I 've done to put thousands separator to run. for "Bole", The problem is, that the price is already defined in the product, so when you pass the focus over it, the price is rounded the bad way. If you put the price by hand without punctuation as you says, everything goes ok, but that approach is not a solution for the day to day user.

Ing. Daniel Blanco
Autor

As I can see there is no workaround in the use. Could you guys please refer a hint or guideline, so I could think to develop a module in order to fix this? Thanks!

Bole

well.. if the price is already defined on product.. there lies the rpoblem... obviously, someone imported a lot of products with prices entered with point ( in your case it should be thousand separator, but during import it was importd as decimal point).. only solution i see now is to reimport products, or write a smart sql to update all prices directly... (my guess will be that no product had a price of 1.000.000 - or two separators - otherwise it would thorw error during import)

Ing. Daniel Blanco
Autor

Bole, this is not the case. The products had been created by hand, with the cost price correctly entered. If you query the table you can see the price is OK. Then, later, the format in the language was set to [3,0], so there is some onchange process that is misinterpreting the "." presented in the purchase line form, as decimal.

Awatar
Zbik
Najlepsza odpowiedź

You check "Technical Features" on user Administrator view, in "Access Rights". Next you edit Languages from menu Translations. In the definition of the language set sparators as you need.

0
Awatar
Odrzuć
Awatar
Estudios, Procesos y Sistemas
Najlepsza odpowiedź

Is a Bug.

Change this file:

addons/web/static/js/formats.js

Find this line in function instance.web.parse_value:

  case 'float':          
tmp = Number(value);
if (!isNaN(tmp))
return tmp;

and change for this (Coment whit //)

 case 'float':          
//tmp = Number(value);
//if (!isNaN(tmp))
//return tmp;

is working for us

0
Awatar
Odrzuć
Awatar
Bole
Najlepsza odpowiedź

Thousand separator is for display pourposes only.. when you enter number, just enter it as is without any thousand separators and it should be ok...

leave the formatting to odoo, and make sure you enter full number 

hope it helps,
may the source be with you ;)(

0
Awatar
Odrzuć
Podoba Ci się ta dyskusja? Dołącz do niej!

Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!

Zarejestruj się
Powiązane posty Odpowiedzi Widoki Czynność
thousands separator in sum field in Kanban view ?
kanban separator thousands
Awatar
0
mar 15
4884
Non-breakable space as a thousands separator - how to set?
separator finnish space thousands
Awatar
Awatar
2
mar 15
9936
Problem with tax included price Rozwiązane
price
Awatar
1
cze 23
243
With odoo 16 what are the prices for iot box?
price
Awatar
Awatar
1
gru 22
4775
Sales Unit Price Rozwiązane
price
Awatar
Awatar
1
sty 22
3228
Społeczność
  • Samouczki
  • Dokumentacja
  • Forum
Open Source
  • Pobierz
  • Github
  • Runbot
  • Tłumaczenia
Usługi
  • Hosting Odoo.sh
  • Wsparcie
  • Aktualizacja
  • Indywidualne rozwiązania
  • Edukacja
  • Znajdź księgowego
  • Znajdź partnera
  • Zostań partnerem
O nas
  • Nasza firma
  • Zasoby marki
  • Skontaktuj się z nami
  • Oferty pracy
  • Wydarzenia
  • Podcast
  • Blog
  • Klienci
  • Informacje prawne • Prywatność
  • Bezpieczeństwo Odoo
الْعَرَبيّة 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 to pakiet aplikacji biznesowych typu open source, które zaspokoją wszystkie potrzeby Twojej firmy: CRM, eCommerce, księgowość, inwentaryzacja, punkt sprzedaży, zarządzanie projektami itp.

Unikalną wartością Odoo jest to, że jest jednocześnie bardzo łatwe w użyciu i w pełni zintegrowane.

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