Overslaan naar inhoud
Odoo Menu
  • Aanmelden
  • Probeer het gratis
  • Apps
    Financiën
    • Boekhouding
    • Facturatie
    • Onkosten
    • Spreadsheet (BI)
    • Documenten
    • Ondertekenen
    Verkoop
    • CRM
    • Verkoop
    • Kassasysteem winkel
    • Kassasysteem Restaurant
    • Abonnementen
    • Verhuur
    Websites
    • Websitebouwer
    • E-commerce
    • Blog
    • Forum
    • Live Chat
    • E-learning
    Bevoorradingsketen
    • Voorraad
    • Productie
    • PLM
    • Inkoop
    • Onderhoud
    • Kwaliteit
    Personeelsbeheer
    • Werknemers
    • Werving & Selectie
    • Verlof
    • Evaluaties
    • Aanbevelingen
    • Wagenpark
    Marketing
    • Sociale media-marketing
    • E-mailmarketing
    • Sms-marketing
    • Evenementen
    • Marketingautomatisering
    • Enquêtes
    Diensten
    • Project
    • Urenstaten
    • Buitendienst
    • Helpdesk
    • Planning
    • Afspraken
    Productiviteit
    • Chat
    • Artificiële Intelligentie
    • IoT
    • VoIP
    • Kennis
    • WhatsApp
    Apps van derden Odoo Studio Odoo Cloud Platform
  • Bedrijfstakken
    Detailhandel
    • Boekhandel
    • kledingwinkel
    • Meubelwinkel
    • Supermarkt
    • Bouwmarkt
    • Speelgoedwinkel
    Horeca & Hospitality
    • Bar en café
    • Restaurant
    • Fastfood
    • Gastenverblijf
    • Drankenhandelaar
    • Hotel
    Vastgoed
    • Makelaarskantoor
    • Architectenbureau
    • Bouw
    • Vastgoedbeheer
    • Tuinieren
    • Vereniging van mede-eigenaren
    Consulting
    • Accountantskantoor
    • Odoo Partner
    • Marketingbureau
    • Advocatenkantoor
    • Talentenwerving
    • Audit & Certificering
    Productie
    • Textiel
    • Metaal
    • Meubels
    • Eten
    • Brouwerij
    • Relatiegeschenken
    Gezondheid & Fitness
    • Sportclub
    • Opticien
    • Fitnesscentrum
    • Wellness-medewerkers
    • Apotheek
    • Kapper
    Diensten
    • Klusjesman
    • IT-hardware & ondersteuning
    • Zonne-energiesystemen
    • Schoenmaker
    • Schoonmaakdiensten
    • HVAC-diensten
    Andere
    • Non-profitorganisatie
    • Milieuagentschap
    • Verhuur van Billboards
    • Fotograaf
    • Fietsleasing
    • Softwareverkoper
    Alle bedrijfstakken bekijken
  • Community
    Leren
    • Tutorials
    • Documentatie
    • Certificeringen
    • Training
    • Blog
    • Podcast
    Versterk het onderwijs
    • Onderwijsprogramma
    • Scale Up! Business Game
    • Odoo bezoeken
    Download de Software
    • Downloaden
    • Vergelijk edities
    • Releases
    Werk samen
    • Github
    • Forum
    • Evenementen
    • Vertalingen
    • Partner worden
    • Diensten voor partners
    • Registreer je accountantskantoor
    Diensten
    • Vind een partner
    • Vind een boekhouder
    • Een adviseur ontmoeten
    • Implementatiediensten
    • Klantreferenties
    • Ondersteuning
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Vraag een demo aan
  • Prijzen
  • Help
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Alle posts Personen Badges
Labels (Bekijk alle)
odoo accounting v14 pos v15
Over dit forum
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Alle posts Personen Badges
Labels (Bekijk alle)
odoo accounting v14 pos v15
Over dit forum
Help

New date format odoo 19

Inschrijven

Ontvang een bericht wanneer er activiteit is op deze post

Deze vraag is gerapporteerd
accounting
4 Antwoorden
5233 Weergaven
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
Annuleer
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
Beste antwoord
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
Annuleer
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Beste antwoord

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
Annuleer
Avatar
Yugma Tech
Beste antwoord

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
Annuleer
Avatar
Eliott Charbonneau (Arozeo)
Beste antwoord

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
Annuleer
Geniet je van het gesprek? Blijf niet alleen lezen, doe ook mee!

Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!

Aanmelden
Gerelateerde posts Antwoorden Weergaven Activiteit
AVCO Vendor Return Creates Inventory Valuation Difference – Correct Accounting Treatment?
accounting
Avatar
Avatar
1
jun. 26
493
in odoo 19 the amount does not appear distributed Profits/Losses  after closing the balance
accounting
Avatar
Avatar
2
jun. 26
1749
Receipt
accounting
Avatar
Avatar
Avatar
2
jun. 26
1424
Customer Statements Opgelost
accounting
Avatar
Avatar
Avatar
Avatar
Avatar
5
mei 26
7030
What accounting software are small businesses using besides Odoo?
accounting
Avatar
0
mei 26
4
Community
  • Tutorials
  • Documentatie
  • Forum
Open Source
  • Downloaden
  • Github
  • Runbot
  • Vertalingen
Diensten
  • Odoo.sh Hosting
  • Ondersteuning
  • Upgrade
  • Gepersonaliseerde ontwikkelingen
  • Onderwijs
  • Vind een boekhouder
  • Vind een partner
  • Partner worden
Over ons
  • Ons bedrijf
  • Merkelementen
  • Neem contact met ons op
  • Vacatures
  • Evenementen
  • Podcast
  • Blog
  • Klanten
  • Juridisch • Privacy
  • Beveiliging
الْعَرَبيّة 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 is een suite van open source zakelijke apps die aan al je bedrijfsbehoeften voldoet: CRM, E-commerce, boekhouding, inventaris, kassasysteem, projectbeheer, enz.

Odoo's unieke waardepropositie is om tegelijkertijd zeer gebruiksvriendelijk en volledig geïntegreerd te zijn.

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