İçereği Atla
Menü
Bu soru işaretlendi
1971 Görünümler

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' />


Avatar
Vazgeç

You can try this:

<span t-esc="context_timestamp(datetime.datetime.now()).strftime('%Y-%m-%d %H:%M')"/>

Üretici
Not working i have already try this
Azhar Hussain chaudhary
Powerweb.move.pk


On Sun, Dec 19, 2021 at 6:44 PM CorTex IT Solutions Ltd <erp@cortexsolutions.net> wrote:

You can try this:

<span t-esc="context_timestamp(datetime.datetime.now()).strftime('%Y-%m-%d %H:%M')"/>

Sent by Odoo S.A. using Odoo.