Odoo Weeknumber on Qweb report date field
Odoo Qweb Report
Probuse Admin
1. for Datetime field
<p t-esc="time.strftime('%U', time.strptime(doc.date_order, '%Y-%m-%d %H:%M:%S'))"/>
2. for Date field
p t-esc="time.strftime('%U', time.strptime(doc.date_order, '%Y-%m-%d'))"/>