How to write date with letters in qweb report odoo?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客戶關係
- e-Commerce
- 會計
- 庫存
- PoS
- Project
- MRP
此問題已被標幟
1
回覆
3843
瀏覽次數
Hi rmc zeyneb,
| Directive | Description | Example |
|---|---|---|
| %a | Weekday, short version | Wed |
| %A | Weekday, full version | Wednesday |
| %w | Weekday as a number 0-6, 0 is Sunday | 3 |
| %d | Day of month 01-31 | 31 |
| %b | Month name, short version | Dec |
| %B | Month name, full version | December |
| %m | Month as a number 01-12 | 12 |
| %y | Year, short version, without century | 18 |
| %Y | Year, full version | 2018 |
o.to_date.strftime('%A , %d %B %Y')"/>
31/05/2022 ==> Tuesday , 31 May 2022
| 相關帖文 | 回覆 | 瀏覽次數 | 活動 | |
|---|---|---|---|---|
|
|
1
8月 22
|
5623 | ||
|
|
1
4月 25
|
4734 | ||
|
|
0
5月 22
|
3981 | ||
|
|
0
5月 22
|
4433 | ||
|
|
1
4月 25
|
1979 |