I would like to show the date but not time of a quotation.
for variable doc.date_order, it shows something like 11/18/2016 18:07:43, but I only want the date to be shown.
Any idea how to set the date format?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
I would like to show the date but not time of a quotation.
for variable doc.date_order, it shows something like 11/18/2016 18:07:43, but I only want the date to be shown.
Any idea how to set the date format?
Hi Robert
I have explained to Damian
May cause problem at all references if you change the field type.
I shall explained you another solution. You make invisible the existing field. Then add an additional Date field in form.
Then pass the value of new field to old field by overriding create and write method.
All the best !
You could just set the widget date for that field in the view and I think that you will be ok
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 | |
---|---|---|---|---|
|
2
thg 1 24
|
1927 | ||
|
2
thg 6 22
|
3765 | ||
|
2
thg 6 18
|
5528 | ||
|
2
thg 2 24
|
11861 | ||
|
0
thg 10 23
|
2262 |