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
    • Umělá inteligence
    • 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
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

New date format odoo 19

Odebírat

Get notified when there's activity on this post

This question has been flagged
accounting
4 Odpovědi
5228 Zobrazení
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
Zrušit
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
Nejlepší odpověď
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
Zrušit
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 it everywhere.




Hope it helps

3
Avatar
Zrušit
Avatar
Yugma Tech
Nejlepší odpověď

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
Zrušit
Avatar
Eliott Charbonneau (Arozeo)
Nejlepší odpověď

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
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
Related Posts Odpovědi Zobrazení Aktivita
AVCO Vendor Return Creates Inventory Valuation Difference – Correct Accounting Treatment?
accounting
Avatar
Avatar
1
čvn 26
487
in odoo 19 the amount does not appear distributed Profits/Losses  after closing the balance
accounting
Avatar
Avatar
2
čvn 26
1732
Receipt
accounting
Avatar
Avatar
Avatar
2
čvn 26
1408
Customer Statements Vyřešeno
accounting
Avatar
Avatar
Avatar
Avatar
Avatar
5
kvě 26
7023
What accounting software are small businesses using besides Odoo?
accounting
Avatar
0
kvě 26
4
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 Svenska ภาษาไทย 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