Email Template Date Utils

Adds extra date functions for email templates

Technical Name:
email_template_dateutil
Version:
7.0
License:
Author:
Savoir-faire Linux
https://odoo-community.org/web/image/product.template/3387/image_1920?unique=6b8ea98
  • Odoo Version

Terms and Conditions 

This module adds an extra filter in email templates:

format_date(format, tz=tzname) : parses and formats a date or datetime string.
Optional parameter tz allows specifying the timezone to use. Otherwise, the user's timezone or server timezone will be used. If none are found, time is left in UTC

Example: ${ object.date_field|format_date('%m/%d/%Y') }

Contributors

This is a preview of the recently viewed products by the user.
Once the user has seen at least one product this snippet will be visible.

Recently viewed Products