تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
3920 أدوات العرض

Adapt Invoice Due Date Format to DD/MM/YYYY instead of YYYY/DD/MM in Email Templates



الصورة الرمزية
إهمال
الكاتب أفضل إجابة

If you want to add the invoice due date in your email template, you will need to generate and use dynamic placeholders.

First, make sure the developer mode is active. Then, search for your email templates in Settings / Technical / Email / Templates, and open the template you wish to adapt (in my case Invoice: Send by Email)



Generate your due date placeholder and copy/paste it in your email body.



Though your date format settings are set up properly in your language settings, you see that the standard format for this placeholder is YYYY-MM-DD.

In order to use the DD-MM-YYYY format, you will need to use the following placeholder: ${object.invoice_date_due.strftime('%d/%m/%Y')}



الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
يوليو 21
2998
1
أكتوبر 22
4705
1
أبريل 24
1935
2
ديسمبر 23
1961
3
أكتوبر 23
8185