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

Odoo 19 Datepicker format is MMM d

Odebírat

Get notified when there's activity on this post

This question has been flagged
5 Odpovědi
1220 Zobrazení
Avatar
John Roy A. Geralde

The Odoo 19 Datepicker format default is MMM d.  It could have been better left as MM/dd/YYYY.

Changing the date format is desperating

0
Avatar
Zrušit
Paul K

So what happens if the date is not in the same year?  Will it display it then?

I don't mind a format change, but would like to have the option to set it myself.  The language settings don't persist to the date picker.  We are running SaaS, and I can update the fields in Studio, but there are tons of them!  Why can't I do this globally?

Paul K

Changing the language settings does not affect the date display in the various fields (and there are many!).  Is there a global way to enact this change without changing each field individually?

Hugo Mercado (Amaris)

The Javascript solution given earlier only works in form views, what can I do with list views?

They should have made it optional really

Avatar
JB
Nejlepší odpověď

Hello,

Go to settings  >>>  Translations  >>>  Languages 


1
Avatar
Zrušit
Avatar
Louis Politanski
Nejlepší odpověď

There seems to be no global setting allowing you to display dates in a numeric format by default at the moment, which is really unfortunate in my opinion.

You can still display individual dates numerically in XML using options :

<field name="your_date_field" options="{'numeric': true}"/>

If you want numeric dates and datetimes by default, you can load this code in a module loaded after web :

import { patch } from "@web/core/utils/patch";
import { DateTimeField } from "@web/views/fields/datetime/datetime_field";

patch(DateTimeField, {
​defaultProps: {
​ ​showSeconds: false,
​ ​showTime: true,
​ ​// Numeric dates by default
​ ​numeric: true,
​},
});

(you can still switch to text format for individual XML fields by using 'numeric': false in options with this patch) 

0
Avatar
Zrušit
Avatar
John Roy A. Geralde
Autor Nejlepší odpověď

Where can I get that javascript override to change the datepicker format? I prefer to have it in MM/dd/YYYY because in the report during the printing, old documents will not show the date.  (I can create a computed field though but takes extra coding).


​In the Philippines, the government requires that invoices will have full dates.  An invoice without full date is considered a violation of Internal Revenue policies.


0
Avatar
Zrušit
Ray Carnes (ray)

Reports always show the full date.

Avatar
Ray Carnes (ray)
Nejlepší odpověď

We changed the date format in Odoo 19 based on user interface/user experience research showing that including a textual representation of the month is easier and more reliable to interpret than all-numeric formats. It reduces cognitive load on Users.

For any date field or date time field in Odoo 19 you can hover over it to see the traditional format:


0
Avatar
Zrušit
marek.mokrzycki@acdlink.pl

Hi, I am a newbie here, just in fact testing and learning Odoo to see if I can use it in my small new company. Seeing that I cannot easilly set the prefered date format in all views came as a big surprise and dissapointment. People from various regions are used to various ways of displaying the date, and forcing everybody to use a format often totally different from the standard they are used to increases the cognitive load, instead of decreasing it. For me it poses a problem.

Avatar
Cybrosys Techno Solutions Pvt.Ltd
Nejlepší odpověď

Hi,

In Odoo 19, the datepicker defaults to MMM d (e.g., Sep 18) because it uses the Luxon library with localized formats, which can be confusing compared to the old MM/dd/yyyy. You can change this by editing the Language → Date Format in settings, but the picker may still show abbreviated months. The most reliable fix is a small JavaScript override in a custom module to force MM/dd/yyyy everywhere..





Hope it helps

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
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