跳至內容
選單
此問題已被標幟
1 回覆
3923 瀏覽次數

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
7月 21
3000
1
10月 22
4705
1
4月 24
1936
2
12月 23
1962
3
10月 23
8200