Odoo Timezone Issue for PDF Qweb Report

PDF Qweb Report Timezone Issue

Probuse Admin


Problem on datetime filed on qweb report, showing not correct timezone.


Use below method in Odoo QWeb: 

 <span t-esc="context_timestamp(doc.validity_date).strftime('%Y-%m-%d')"/> 

Above will give exact time as shown in form view with datetime and same show to Qweb PDF report..