Odoo Help

0

[Odoo 8] Qweb report

By
Tazan
on 7/7/15, 12:35 AM 695 views

How can i get datetime now on qweb report

1
Hiral Patel (hip)
On 7/7/15, 5:41 AM

use: <span t-esc="datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S')"/>

0
Tazan
On 7/7/15, 6:09 AM

Thank you! This my code

<span t-esc="time.strftime('%Y-%m-%d %H:%M:%S'')"/> 

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

2 follower(s)

Stats

Asked: 7/7/15, 12:35 AM
Seen: 695 times
Last updated: 7/7/15, 6:09 AM