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' />
Erstellen Sie heute ein Konto, um exklusive Funktionen zu nutzen und mit unserer tollen Community zu interagieren!
Registrieren
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