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
回复
3801
查看
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
|
5589 | ||
|
|
1
4月 25
|
4659 | ||
|
|
0
5月 22
|
3960 | ||
|
|
0
5月 22
|
4398 | ||
|
|
1
4月 25
|
1908 |