Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Artificial Intelligence
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Property Management
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

New date format odoo 19

Subscriure's

Get notified when there's activity on this post

This question has been flagged
accounting
4 Respostes
5195 Vistes
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
Descartar
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
Best Answer
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
Descartar
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Best Answer

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
Descartar
Avatar
Yugma Tech
Best Answer

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
Descartar
Avatar
Eliott Charbonneau (Arozeo)
Best Answer

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

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

Registrar-se
Related Posts Respostes Vistes Activitat
AVCO Vendor Return Creates Inventory Valuation Difference – Correct Accounting Treatment?
accounting
Avatar
Avatar
1
de juny 26
449
in odoo 19 the amount does not appear distributed Profits/Losses  after closing the balance
accounting
Avatar
Avatar
2
de juny 26
1669
Receipt
accounting
Avatar
Avatar
Avatar
2
de juny 26
1351
Customer Statements Solved
accounting
Avatar
Avatar
Avatar
Avatar
Avatar
5
de maig 26
6977
What accounting software are small businesses using besides Odoo?
accounting
Avatar
0
de maig 26
4
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة 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 és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

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