Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Artificial Intelligence
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

New date format odoo 19

Subscribe

Get notified when there's activity on this post

This question has been flagged
accounting
4 Replies
5178 Views
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
Discard
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
Discard
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
Discard
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
Discard
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
Discard
Enjoying the discussion? Don't just read, join in!

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

Sign up
Related Posts Replies Views Activity
AVCO Vendor Return Creates Inventory Valuation Difference – Correct Accounting Treatment?
accounting
Avatar
Avatar
1
Jun 26
434
in odoo 19 the amount does not appear distributed Profits/Losses  after closing the balance
accounting
Avatar
Avatar
2
Jun 26
1651
Receipt
accounting
Avatar
Avatar
Avatar
2
Jun 26
1312
Customer Statements Solved
accounting
Avatar
Avatar
Avatar
Avatar
Avatar
5
May 26
6963
What accounting software are small businesses using besides Odoo?
accounting
Avatar
0
May 26
4
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة 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 a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

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