Community mailing list archives

community@mail.odoo.com

Odoo 9 email template : Format date

by
Yassine TEIMI
- 04/15/2016 09:53:26
Hello everyone,

I've an email template containing a date, and a selection fiels,

First of all, I want to format this date.
Second thing, I want to output the interface side value of the selection field, not the value stored on database.

How is it possible to perform these two requirements on Odoo 9 email template ?

I found this module :  https://github.com/OCA/server-tools/blob/7.0/email_template_dateutil/email_template.py

but it's on v7, it needs to be ported.

Any hints guys ?

--

Cordialement

Yassine TEIMI

Consultant & Odoo Project Manager
TEL : +212 6-87 71 41 18