Hi i want to show date and time on Receipt odoo 14 orderreceipt.xml
i have try using these codes but problem not solved
1:datetime.datetime.now()).strftime('%Y-%m-%d %H:%M')"/>
2:receipt.date.localestring' />
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi i want to show date and time on Receipt odoo 14 orderreceipt.xml
i have try using these codes but problem not solved
1:datetime.datetime.now()).strftime('%Y-%m-%d %H:%M')"/>
2:receipt.date.localestring' />
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ý
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.
You can try this:
<span t-esc="context_timestamp(datetime.datetime.now()).strftime('%Y-%m-%d %H:%M')"/>
try this: https://learnopenerp.blogspot.com/2016/09/how-to-convert-datetimedate-to.html