Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3 ตอบกลับ
5375 มุมมอง

How do I change the format of the date in the invoice while I do the print out in report.

I have tried changing the language in the profile but it shows accordingly in the system but while I print as a report it has the same format. 


Eg: (mm/dd/yyyy) but I need as (dd-mmm-yyyy). Below in Image.



อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi Mohamed,

go to settings --> translations( activate developer mode)--> languages

change date format to %d-%m-%Y


อวตาร
ละทิ้ง
ผู้เขียน

Thank you!

คำตอบที่ดีที่สุด

I had to make a couple of changes for the PDF invoices to show my preferred date format:

  1. Change the date format in the language *my profile* is using. I added the month abbreviation to make it easier to confirm I had the desired date i.e. instead of 1/1/24 I now see 1/Jan/24.
  2. I had to change the language assigned to my customer by editing the Contact and setting their language to match my preferred language.

Additionally, I found that once a PDF has been generated for the Invoice, Odoo will not generate a new PDF reflecting your changes to dates until you delete the PDF from the Invoice (it's an attachment accessible from below the invoice details).

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi there,

I activated developer mode and added New Zealand which is now above US and activated it.

This managed to get the dates correct using Oodo however when the PDF/invoice are generated the date format is still in the US format MM/DD/YYYY

I need it to be DD/MM/YYYY

Please help. Thanks

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
มี.ค. 15
4582
2
มิ.ย. 25
1959
4
ส.ค. 24
77171
4
พ.ค. 24
6061
1
พ.ค. 23
3849