Odoo Help

3 Answers

Manish Kumar Bohra

--Manish Kumar Bohra--

| 5 3 8
Bikaner, India
--Manish Kumar Bohra--

Manish Kumar Bohra
1/5/19, 2:31 AM

Hello All

I am  Solve using this:

import datetime
 datetime.datetime.strptime(obj.start_date, '%Y-%m-%d').strftime('%d-%m-%Y')
Hazem Mahmoud
1/4/19, 7:40 PM

Hi Manish,

you have to change the date format in the language settings

Activate the developer mode > Settings > Translations > Select the language you are using > and in the field "'Date Format" enter the format you want 

this will change the format of the date in the entire system and will reflect in printing xls reports 

1 Comment
Manish Kumar Bohra
1/5/19, 2:30 AM

sorry It's not solved my problem.

Ask a Question
Keep Informed
1 follower(s)
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