Skip to Content
Odoo Menu
  • Prihlásiť sa
  • Vyskúšajte zadarmo
  • Aplikácie
    Financie
    • Účtovníctvo
    • Fakturácia
    • Výdavky
    • Tabuľka (BI)
    • Dokumenty
    • Podpis
    Predaj
    • CRM
    • Predaj
    • POS Shop
    • POS Restaurant
    • Manažment odberu
    • Požičovňa
    Webstránky
    • Tvorca webstránok
    • eShop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Supply Chain
    • Sklad
    • Výroba
    • Správa životného cyklu produktu
    • Nákup
    • Údržba
    • Manažment kvality
    Ľudské zdroje
    • Zamestnanci
    • Nábor zamestnancov
    • Voľné dni
    • Hodnotenia
    • Odporúčania
    • Vozový park
    Marketing
    • Marketing sociálnych sietí
    • Email marketing
    • SMS marketing
    • Eventy
    • Marketingová automatizácia
    • Prieskumy
    Služby
    • Projektové riadenie
    • Pracovné výkazy
    • Práca v teréne
    • Helpdesk
    • Plánovanie
    • Schôdzky
    Produktivita
    • Tímová komunikácia
    • Schvalovania
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Priemyselné odvetvia
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Reštaurácia
    • Fast Food
    • Guest House
    • Beverage distributor
    • Hotel
    Reality
    • Real Estate Agency
    • Architecture Firm
    • Konštrukcia
    • Estate Managament
    • Gardening
    • Property Owner Association
    Poradenstvo
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Výroba
    • Textile
    • Metal
    • Furnitures
    • Jedlo
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware and Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Iní
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Komunita
    Vzdelávanie
    • Tutoriály
    • Dokumentácia
    • Certifikácie
    • Školenie
    • Blog
    • Podcast
    Empower Education
    • Vzdelávací program
    • Scale Up! Business Game
    • Visit Odoo
    Softvér
    • Stiahnuť
    • Porovnanie Community a Enterprise vierzie
    • Releases
    Spolupráca
    • Github
    • Fórum
    • Eventy
    • Preklady
    • Staň sa partnerom
    • Services for Partners
    • Register your Accounting Firm
    Služby
    • Nájdite partnera
    • Nájdite účtovníka
    • Meet an advisor
    • Implementation Services
    • Zákaznícke referencie
    • Podpora
    • Upgrades
    ​Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Získajte demo
  • Cenník
  • Pomoc

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

  • CRM
  • e-Commerce
  • Účtovníctvo
  • Sklady
  • PoS
  • Projektové riadenie
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
Pomoc

Format decimal number

Odoberať

Get notified when there's activity on this post

This question has been flagged
6 Replies
49576 Zobrazenia
Avatar
Vu Huynh

Hi all,

I'm using Odoo 10 with Purchase module. How can I customize the format of decimal number?

E.g: the Unit Price and Total, Sub Total... The current number format is 27,000.00, I want to change it to 27,000

Does anyone has experience with this?

0
Avatar
Zrušiť
Avatar
Vu Huynh
Autor Best Answer

hi  Jainesh Shah,

I tried set the Product Price decimal digits to 0, but only affect to Unit Price, the Total and Subtotal still have decimal digits.


1
Avatar
Zrušiť
Avatar
Mostafa Razavi
Best Answer

If you want to remove decimal in product you can do by set zero in decimal accuracy from Settings -> Technical -> Database Structure -> Decimal Accuracy

if you want to remove zero in total and subtotal you have to set decimal places in your currency by the some hack in database table res_currency, you have to change column decimal_places to zero.

1
Avatar
Zrušiť
Avatar
Maria Bleta
Best Answer

Hi everyone! I am having a similar issue. Would it be possible to change this but on the Inventory and Manufacturing modules?
I work with products that will always be integers, but those two modules always show units as 5.00
I want it to be displayed as 5

From your answers above, I have tried changing the Settings -> Technical -> Database Structure -> Decimal Accuracy, and in particular the Product unit of measure to 0 decimals.
An error message appears saying "You are setting a Decimal Accuracy less precise than the UOMs".

Any ideas on how to change it?

Thank you a lot in advance! 

0
Avatar
Zrušiť
Avatar
Haresh Kansara
Best Answer

Hello Odooers,

I think if you are dealing with Monetary fields, then you dont need any code change, only need to set proper

"Decimal Places" in currency settings.

Steps to change Subtotal fields (Monetary) decimal accuracy from 2 digit to 3 digits:

1. Activate Multi Currency from General Settings (Settings > General Settings > Accounting ('Invoicing' If Community)), Now activate Multi-Currencies from Currencies section.

2. Now go to Accounting ('Invoicing' If Community) > Configuration > Accounting > Currencies.

3. In currency form change value 0.010000 to 0.001000 in Rounding Factor field and save record.

I hope this will helpful.

--
Regards
Haresh Kansara
Odoo Application Engineer
  


0
Avatar
Zrušiť
Robinson Gutierrez

hello.
I have a reverse case, I have the decimals like this
300,000 = which are displayed with the currency 0.001000
but the problem is that I want to return to the previous one but it is not possible.

300.00 = I need this 0.010000.

I was trying through the qweb document but the currency sign disappears and the igv could not locate it.

Do you have any clue about the solution?

Avatar
Jainesh Shah(Aktiv Software)
Best Answer

Hi Vu,

The answer of Niyas is perfect once you will change the product price digits. for the subtotal and unit price go to the price list and Open the currency and change the rounding factor which will affect in unit and subtotal.


Thanks.

0
Avatar
Zrušiť
Vu Huynh
Autor

Thanks

Vu Huynh
Autor

Hi Jainesh,

Thanks for your reply.

But there is another place where the decimal value still show is the sum of list view.

I set the rounding factor of currency to 0, the purchase order line show correctly. But in sum of list purchase order, it still contains the decimal value (.00).

How can I remove it?

Avatar
Niyas Raphy (Walnut Software Solutions)
Best Answer

Hi,

To adjust the decimal points , activate the developer mode and navigate to Settings -> Technical -> Database Structure -> Decimal Accuracy.

Adjust the number of decimal point from here.


Have a look at this link also : https://www.odoo.com/forum/help-1/question/sale-order-total-amount-to-three-decimal-places-116978

Thanks

0
Avatar
Zrušiť
Vu Huynh
Autor

Hi,

Yes, I can change the Product Price, but how can I change the format of "Total" or "Sub Total"? It still have 2 digits for decimal

Enjoying the discussion? Don't just read, join in!

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

Registrácia
Komunita
  • Tutoriály
  • Dokumentácia
  • Fórum
Open Source
  • Stiahnuť
  • Github
  • Runbot
  • Preklady
Služby
  • Odoo.sh hosting
  • Podpora
  • Vyššia verzia
  • Custom Developments
  • Vzdelávanie
  • Nájdite účtovníka
  • Nájdite partnera
  • Staň sa partnerom
O nás
  • Naša spoločnosť
  • Majetok značky
  • Kontaktujte nás
  • Pracovné ponuky
  • Eventy
  • Podcast
  • Blog
  • Zákazníci
  • Právne dokumenty • Súkromie
  • Bezpečnosť
الْعَرَبيّة 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 sada podnikových aplikácií s otvoreným zdrojovým kódom, ktoré pokrývajú všetky potreby vašej spoločnosti: CRM, e-shop, účtovníctvo, skladové hospodárstvo, miesto predaja, projektový manažment atď.

Odoo prináša vysokú pridanú hodnotu v jednoduchom použití a súčasne plne integrovanými biznis aplikáciami.

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