Repository
OCA/web · module folder · Try on Runboat
Module version
1.0.0
Category
Website
Folder size
0.04 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/web
Last tracking update
2026-08-07 09:06:23
Authors
Camptocamp, Odoo Community Association (OCA)
Maintainers
Camptocamp, Odoo Community Association (OCA)
Committers
Vincent Van Rossem, Weblate, OCA-git-bot, oca-ci
Odoo dependencies
odoo/odoo:
- web
Python dependencies
None
System dependencies
None
Required by
None
Description
Adds a **Use Numeric Date Format** field to `res.lang`.
When enabled for a language, all `date` and `datetime` fields
render in numeric format (e.g. `31/01/2026` instead of `Jan 31, 2026`).

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
base_res_lang_form_inherit res.lang form Inherits base.res_lang_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (2)

New fields (0)

No new fields.

Public methods (1)
  • session_info(self)

New fields (1)
  • use_date_format_numeric Boolean
    help='Display dates in numeric format (e.g. 31/01/2026) instead of textual format (e.g. Jan 31, 2026).' string='Use Numeric Date Format'
Public methods (0)

No public methods.