Odoo Help

Welcome!

This community 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.

0

[Odoo 8] Qweb report

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

How can i get datetime now on qweb report

1

Hiral Patel (hip)

--Hiral Patel (hip)--
Tiny ERP Pvt Ltd
http://www.odoo.com
913
| 2 1 5
India
--Hiral Patel (hip)--


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'')"/> 

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)

Stats

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