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' />
Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!
Aanmelden
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