Using calendar week for estimated delivery date in sales report

Hi,

I’m trying to customize odt template for the sales report for our company. For the estimated delivery date, we never specify the exact date, only the calendar week in format 32/24.
Is there a way to get this formatted from the field “Shipping Date” in sales?

Thanks,
Christian

The format_date method accept a format parameter which follows the Python format codes. You can use %U or %W to display the week number and with the year it will be: %W/%y.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.