by default the date format is seen to be mm/dd/yyyy,. but i need dd/mm/yyyy format .how can i make this change..? can anybody help me please....?(i am a beginner in openerp)
To have it on your PDF in correct format you have to take care in wich country your Company is located:
Settings - Companies - Your Company Address Field: Country
The Language of that country will be used for your Header and Footer of PDF-Reports.
If you have set e.g. "germany" as Adress of your company then you have to change the format of Language German:
Odoo allows changing date format on a database level for every language. The default date format is MM/DD/YYYY. Suppose you need to change the date format to DD/MM/YYYY. To do the same, perform the following steps.
Navigate to “Settings>Translations>Languages” Menu form Administrator account.
Choose the language for which you want to change the date format from the listandopenitsform view and click on edit to modify.
For the format, MM/DD/YYYY, the entry in date format is “%m%d%y”. To change this to DD/MM/YYYY, we can modify it to “%d%m%y” and click on save.
You can now see any list or form view in the system to see the changes.
its showing in views(tree view and form view..) like dd/mm/yy its working fine Thank you # ..but in database it had stored like yy/mm/dd..because im printing a one object value in pdf at that time date has come like yy/mm/dd but i want dd/mm/yy on pdf.... problem is storing data in database.. its storing like yy/mm/dd so when we storing in database i want store like dd/mm/yy so how can i achieve this one??
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 8/16/13, 10:04 PM|
|Seen: 6087 times|
|Last updated: 4/1/15, 8:14 AM|