Odoo Help


Urgent: How to view a field in one format and store it in a different format ?

on 3/26/15, 3:50 AM 637 views

I want to view a field in one format and store field in database in different format , for example for field date type ?

I think this is done through javascript.

Your help is really appreciated


Techno-Functional Associate with 7+ years of experience in Odoo (formerly known as OpenERP).

On 3/27/15, 7:36 AM

1. If you are meaning that you want to set the format of date, say '03/26/2015' or so, then you can set it under Settings => Translations => Languages..

You can set the style of format, in whichever way you want but Odoo will always store the date in its database in one single format only, and you need not worry about it...

2. And also If you are meaning, you want to change the GUI widget of a field, then yes you can do it in XML..

Say for Instance, you have a field Many2one, In XML you can set the property as widget="selection", this will change appear are selection field..

similarly if you have a datetime field, but you would to prefer to show just date, then set the widget in xml as widget="date"/


About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 3/26/15, 3:50 AM
Seen: 637 times
Last updated: 3/27/15, 6:18 PM