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
    • Intelligence artificielle
    • 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
    • Supermarché
    • Quincaillerie
    • Magasin de jouets
    Restauration & Hôtellerie
    • 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
    • Brasserie
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Commerce
    • Homme à tout faire
    • Matériel informatique & 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
    Parcourir toutes les 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
    • Devenir partenaire
    • Services pour partenaires
    • 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
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

New date format odoo 19

S'inscrire

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

Cette question a été signalée
accounting
4 Réponses
5210 Vues
Avatar
Maysara Shaheen

Odoo is making drastic changes based on feedback from a few users about the current setup — for example, the date format — while ignoring millions of users who are perfectly fine with how things are.

Changing the date format from numbers to letters should have been optional or at least adjustable through a setting.

1
Avatar
Ignorer
Elkor Technologies Inc., Paul K

I noticed this change when upgrading from 18 > 19.  We are using SaaS and while I can go into Studio and change every field to the numeric format, it is a giant pain.  The Language > Date Format setting doesn't affect the fields.

I agree with OP, changes like this shouldn't be global without a way of reverting globally.

Michael Hofer

I agree, this is a very bad decision... I am still looking for a viable fix.

Avatar
Shameena Moin Qaisar
Meilleure réponse
I completely agree with Maysara and Paul. For large scale SaaS users, changing every field via Studio is not a practical solution.

​Pro Tip: If you have 'Developer Mode' on, try checking the 'Languages' settings under Translation. Sometimes, force-updating the 'Date Format' string there and then re-loading the assets (Regenerate Assets Bundle) can push the change globally in some v19 preview environments. Hopefully, Odoo will provide a global toggle in the final stable release

0
Avatar
Ignorer
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 it everywhere.




Hope it helps

3
Avatar
Ignorer
Avatar
Yugma Tech
Meilleure réponse

we have develop app which force odoo to convert all month in number instead of month name.

https://apps.odoo.com/apps/modules/19.0/yt_numaric_date

1
Avatar
Ignorer
Avatar
Eliott Charbonneau (Arozeo)
Meilleure réponse

Hello

I will give you a "Quick and Dirty" fix, based on the fact that this UX/UI change is a major drawback and that everyone should be free to choose whatever date format he/she prefer instead of being forced to use this "mmm dd" format

Also Odoo is open source so solutions to major and broad problems should be freely shared instead of being gatekeeped behind paid services or paid apps on Store

Please note that this fix is rather experimental but works even in SaaS version (does not require on-premise or Odoo.sh)
Also it should be quite safe to put in place as it uses a Try/Catch mechanism, ensuring it cannot break your Odoo instance even if the script fails

  • Enable Dev mode
  • Navigate to Views
  • Search "Web layout" view
  • In the "Inherited views" tab, create a new view with this code inside : 
<xpath expr="//head" position="inside">
<script>
try {
(function() {
owl.whenReady(function() {
try {
// Patch vue form - getFormattedValue
// Odoo v19 : Luxon écrase le format de date défini dans les settings de langue
// dateField.getFormattedValue utilise un binding statique, patch via prototype
var m1 = odoo.loader.modules.get('@web/views/fields/datetime/datetime_field');
if (m1 &amp;&amp; m1.dateField &amp;&amp; m1.dateField.component) {
var proto1 = m1.dateField.component.prototype;
proto1.getFormattedValue = function(valueIndex, numeric) {
if (numeric === undefined) numeric = this.props.numeric;
var values = this.values;
var value = values[valueIndex];
if (!value) return '';
if (this.field.type === 'date') {
return value.toFormat('dd/MM/yyyy');
}
return value.toFormat('dd/MM/yyyy, HH:mm');
};
}

// Patch vue liste - registre formatters
// Le rendu readonly en liste passe par le registre Owl formatters, pas getFormattedValue
var reg = odoo.loader.modules.get('@web/core/registry');
if (reg &amp;&amp; reg.registry) {
var formatters = reg.registry.category('formatters');

var origDate = formatters.get('date');
if (origDate) {
var patchedDate = function(value, options) {
if (!options) options = {};
if (!value) return '';
if (options.numeric) return origDate(value, options);
return value.toFormat('dd/MM/yyyy');
};
patchedDate.extractOptions = origDate.extractOptions;
formatters.add('date', patchedDate, { force: true });
}

var origDatetime = formatters.get('datetime');
if (origDatetime) {
var patchedDatetime = function(value, options) {
if (!options) options = {};
if (!value) return '';
if (options.numeric) return origDatetime(value, options);
return value.toFormat('dd/MM/yyyy, HH:mm');
};
patchedDatetime.extractOptions = origDatetime.extractOptions;
formatters.add('datetime', patchedDatetime, { force: true });
}
}
} catch(e) { console.error('Erreur date patch:', e); }
});
})();
} catch (error) {
console.error('Erreur date patch outer:', error);
}
</script>
</xpath>


Should do the trick. Please note the code is set up for a dd/mm/yyyy (so European) date format. Changing to mm/dd/yyyy shouldn't be too complicated

Eliott

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
Publications associées Réponses Vues Activité
AVCO Vendor Return Creates Inventory Valuation Difference – Correct Accounting Treatment?
accounting
Avatar
Avatar
1
juin 26
464
in odoo 19 the amount does not appear distributed Profits/Losses  after closing the balance
accounting
Avatar
Avatar
2
juin 26
1688
Receipt
accounting
Avatar
Avatar
Avatar
2
juin 26
1376
Customer Statements Résolu
accounting
Avatar
Avatar
Avatar
Avatar
Avatar
5
mai 26
6991
What accounting software are small businesses using besides Odoo?
accounting
Avatar
0
mai 26
4
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
  • Devenir 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 Svenska ภาษาไทย 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