<field name="booking_date" />
this field is showing date like ----- 12/27/2022
i want this in ---- 27/12/2022 formate
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
<field name="booking_date" />
this field is showing date like ----- 12/27/2022
i want this in ---- 27/12/2022 formate
Hi,
Try like below.
<field name="date_deadline" eval="DateTime.today().strftime('%Y-%m-%d %H:%M')"/>
Use the strftime() function and put the format.
Regards
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
3
thg 6 25
|
1106 | ||
|
1
thg 1 25
|
17978 | ||
|
1
thg 1 20
|
3971 | ||
|
1
thg 12 19
|
6403 | ||
|
1
thg 12 19
|
17281 |