2
votes

I am using the date field on form view using below code:

<field name="date_order" />

I will display DD/MM/YYYY HH:MM:SS.

But, I want to hide seconds on form view.

I need to show like: DD/MM/YYYY HH:MM on form view.

1

1 Answers

2
votes

It's a global setting in Odoo in every language. In debug mode under Settings/Translations/Languages you are able to set up a date and time format for every language. But as i said, it will change the format of every datetime or date field in Odoo client.