Se rendre au contenu
Odoo Menu
  • Se connecter
  • Essai gratuit
  • Applications
    Finance
    • Comptabilité
    • Facturation
    • Notes de frais
    • Feuilles de calcul (BI)
    • Documents
    • Signature
    Ventes
    • CRM
    • Ventes
    • PdV Boutique
    • PdV Restaurant
    • Abonnements
    • Location
    Sites web
    • Site Web
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Chaîne d'approvisionnement
    • Inventaire
    • Fabrication
    • PLM
    • Achats
    • Maintenance
    • Qualité
    Ressources Humaines
    • Employés
    • Recrutement
    • Congés
    • Évaluations
    • Recommandations
    • Parc automobile
    Marketing
    • Marketing Social
    • E-mail Marketing
    • SMS Marketing
    • Événements
    • Marketing Automation
    • Sondages
    Services
    • Projet
    • Feuilles de temps
    • Services sur Site
    • Assistance
    • Planification
    • Rendez-vous
    Productivité
    • Discussion
    • Validations
    • Internet des Objets
    • VoIP
    • Connaissances
    • WhatsApp
    Applications tierces Odoo Studio Plateforme Cloud d'Odoo
  • Industries
    Commerce de détail
    • Librairie
    • Magasin de vêtements
    • Magasin de meubles
    • Épicerie
    • Quincaillerie
    • Magasin de jouets
    Food & Hospitality
    • Bar et Pub
    • Restaurant
    • Fast-food
    • Maison d’hôtes
    • Distributeur de boissons
    • Hôtel
    Immobilier
    • Agence immobilière
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consultance
    • Cabinet d'expertise comptable
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Métal
    • Meubles
    • Alimentation
    • Brewery
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Trades
    • Bricoleur
    • Matériel informatique et support
    • Systèmes photovoltaïques
    • Cordonnier
    • Services de nettoyage
    • Services CVC
    Autres
    • Organisation à but non lucratif
    • Agence environnementale
    • Location de panneaux d'affichage
    • Photographie
    • Leasing de vélos
    • Revendeur de logiciel
    Browse all Industries
  • Communauté
    Apprenez
    • Tutoriels
    • Documentation
    • Certifications
    • Formation
    • Blog
    • Podcast
    Renforcer l'éducation
    • Programme éducatif
    • Business Game Scale-Up!
    • Rendez-nous visite
    Obtenir le logiciel
    • Téléchargement
    • Comparez les éditions
    • Versions
    Collaborer
    • Github
    • Forum
    • Événements
    • Traductions
    • Devenez partenaire
    • Services for Partners
    • Enregistrer votre cabinet comptable
    Nos Services
    • Trouver un partenaire
    • Trouver un comptable
    • Rencontrer un conseiller
    • Services de mise en œuvre
    • Références clients
    • Assistance
    • Mises à niveau
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obtenir une démonstration
  • Tarification
  • Aide

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

  • CRM
  • e-Commerce
  • Comptabilité
  • Inventaire
  • PoS
  • Projet
  • MRP
All apps
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Aide

Odoo 19 Datepicker format is MMM d

S'inscrire

Recevez une notification lorsqu'il y a de l'activité sur ce poste

Cette question a été signalée
5 Réponses
1261 Vues
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
Ignorer
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
Meilleure réponse

Hello,

Go to settings  >>>  Translations  >>>  Languages 


1
Avatar
Ignorer
Avatar
Louis Politanski
Meilleure réponse

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
Ignorer
Avatar
John Roy A. Geralde
Auteur Meilleure réponse

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
Ignorer
Ray Carnes (ray)

Reports always show the full date.

Avatar
Ray Carnes (ray)
Meilleure réponse

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
Ignorer
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
Meilleure réponse

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
Ignorer
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !

Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !

S'inscrire
Communauté
  • Tutoriels
  • Documentation
  • Forum
Open Source
  • Téléchargement
  • Github
  • Runbot
  • Traductions
Services
  • Hébergement Odoo.sh
  • Assistance
  • Migration
  • Développements personnalisés
  • Éducation
  • Trouver un comptable
  • Trouver un partenaire
  • Devenez partenaire
À propos
  • Notre société
  • Actifs de la marque
  • Contactez-nous
  • Emplois
  • Événements
  • Podcast
  • Blog
  • Clients
  • Informations légales • Confidentialité
  • Sécurité.
الْعَرَبيّة 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 est une suite d'applications open source couvrant tous les besoins de votre entreprise : CRM, eCommerce, Comptabilité, Inventaire, Point de Vente, Gestion de Projet, etc.

Le positionnement unique d'Odoo est d'être à la fois très facile à utiliser et totalement intégré.

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