CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I want to view a field in one format and store field in database in different format , for example for field date type ?
Your help is really appreciated
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
Odoo Training Center
|Asked: 3/26/15, 3:50 AM|
|Seen: 557 times|
|Last updated: 3/27/15, 6:18 PM|