Přejít na obsah
Odoo Menu
  • Přihlásit se
  • Vyzkoušejte zdarma
  • Aplikace
    Finance
    • Účetnictví
    • Fakturace
    • Výdaje
    • Spreadsheet (BI)
    • Dokumenty
    • Podpisy
    Prodej
    • CRM
    • Prodej
    • POS Obchod
    • POS Restaurace
    • Předplatné
    • Pronájem
    Webové stránky
    • Webové stránky
    • E-shop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Dodavatelský řetězec
    • Sklad
    • Výroba
    • PLM
    • Nákup
    • Údržba
    • Kvalita
    Lidské zdroje
    • Zaměstnanci
    • Nábor
    • Volno
    • Hodnocení zaměstnanců
    • Doporučení
    • Vozový park
    Marketing
    • Marketing sociálních sítí
    • Emailový marketing
    • SMS Marketing
    • Události
    • Marketingová automatizace
    • Dotazníky
    Služby
    • Projekt
    • Časové výkazy
    • Práce v terénu
    • Helpdesk
    • Plánování
    • Schůzky
    Produktivita
    • Diskuze
    • Schvalování
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Aplikace třetích stran Odoo Studio Odoo cloudová platforma
  • Branže
    Maloobchod
    • Knihkupectví
    • Obchod s oblečením
    • Obchod s nábytkem
    • Potraviny
    • Obchod s hardwarem
    • Hračkářství
    Jídlo a pohostinství
    • Bar a Pub
    • Restaurace
    • Fast Food
    • Penzion
    • Distributor nápojů
    • Hotel
    Nemovitost
    • Realitní kancelář
    • Architektonická firma
    • Stavba
    • Správa nemovitostí
    • Zahradnictví
    • Asociace vlastníků nemovitosti
    Poradenství
    • Účetní firma
    • Odoo Partner
    • Marketingová agentura
    • Právník
    • Akvizice talentů
    • Audit a certifikace
    Výroba
    • Textil
    • Kov
    • Nábytek
    • Jídlo
    • Pivovar
    • Korporátní dárky
    Zdraví a fitness
    • Sportovní klub
    • Prodejna brýli
    • Fitness Centrum
    • Wellness praktikové
    • Lékárna
    • Kadeřnictví
    Transakce
    • Údržbář
    • Podpora IT & hardware
    • Systémy solární energie
    • Výrobce obuvi
    • Úklidové služby
    • Služby HVAC
    Ostatní
    • Nezisková organizace
    • Agentura pro životní prostředí
    • Pronájem billboardů
    • Fotografování
    • Leasing jízdních kol
    • Prodejce softwaru
    Procházet všechna odvětví
  • Komunita
    Edukační program
    • Tutoriály
    • Dokumentace
    • Certifikace
    • Vzdělávání
    • Blog
    • Podcast
    Podpora vzdělávání
    • Vzdělávací program
    • Scale Up! Hra na firmu
    • Navštivte Odoo
    Získat software
    • Stáhnout
    • Porovnejte edice
    • Verze
    Spolupráce
    • Github
    • Fórum
    • Události
    • Překlady
    • Stát se partnerem
    • Služby pro partnery
    • Registrujte svou účetní firmu
    Získat služby
    • Najít partnera
    • Najít účetní
    • Setkejte se s poradcem
    • Implementační služby
    • Zákaznické reference
    • Podpora
    • Upgrady
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dohodnout demo
  • Ceník
  • Pomoc

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

  • CRM
  • e-Commerce
  • Účetnictví
  • Sklad
  • PoS
  • Projekty
  • MRP
All apps
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
Pomoc

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

Odebírat

Get notified when there's activity on this post

This question has been flagged
priceseparatorthousands
9 Odpovědi
10455 Zobrazení
Avatar
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
Avatar
Zrušit
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.

Avatar
Zbik
Nejlepší odpověď

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
Avatar
Zrušit
Avatar
Estudios, Procesos y Sistemas
Nejlepší odpověď

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
Avatar
Zrušit
Avatar
Bole
Nejlepší odpověď

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
Avatar
Zrušit
Enjoying the discussion? Don't just read, join in!

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

Přihlásit se
Related Posts Odpovědi Zobrazení Aktivita
thousands separator in sum field in Kanban view ?
kanban separator thousands
Avatar
0
bře 15
4884
Non-breakable space as a thousands separator - how to set?
separator finnish space thousands
Avatar
Avatar
2
bře 15
9936
Problem with tax included price Vyřešeno
price
Avatar
1
čvn 23
243
With odoo 16 what are the prices for iot box?
price
Avatar
Avatar
1
pro 22
4775
Sales Unit Price Vyřešeno
price
Avatar
Avatar
1
led 22
3228
Komunita
  • Tutoriály
  • Dokumentace
  • Fórum
Open Source
  • Stáhnout
  • Github
  • Runbot
  • Překlady
Služby
  • Odoo.sh hostování
  • Podpora
  • Upgrade
  • Nestandardní vývoj
  • Edukační program
  • Najít účetní
  • Najít partnera
  • Stát se partnerem
O nás
  • Naše společnost
  • Podklady značky
  • Kontakujte nás
  • Práce
  • Události
  • Podcast
  • Blog
  • Zákazníci
  • Právní dokumenty • Soukromí
  • Zabezpečení
الْعَرَبيّة 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 je balíček open-source aplikací, které pokrývají všechny potřeby vaší společnosti: CRM, e-shop, účetnictví, sklady, kasy, projektové řízení a další.

Unikátní nabídka od Odoo poskytuje velmi jednoduché uživatelské rozhraní a vše je integrované na jednom místě.

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