Odoo Help


How to append Today's date along with QWEB Report name ?

Jignesh Mehta
on 7/19/16, 6:13 AM 412 views

Hello All,

I wan to append today's date with QWEB Report name.

For Ex:-

In Sales order, Quotation report name is Quotation_Order, But I want today's date with this name.

Like, Quotation_Order -> Quotation_Order_19_07_2016.

Any Suggestion from you is appreciated.

Thanks and Regards,


Jusab Sida (jsi)

--Jusab Sida (jsi)--
| 2 1 5
Gandhinagar, India
--Jusab Sida (jsi)--

Jusab Sida (jsi)
On 7/22/16, 3:41 AM

For that you can use this field "Save as Attachment Prefix" from Report menu.

See here: 

Put Prefix value as : 'Quotation_Order - '+time.strftime('%Y-%m-%d')

After setting this you will find your changes here:

Hope this will help you...

Shawn Varghese
On 7/22/16, 2:01 AM

Are you referring to the filename of the PDF file? You can use a module on the app store for this purpose:

https://www.odoo.com/apps/modules/8.0/report_custom_filename/ by Therp/OCA.

Using this, you can create custom filenames. Is this what you were referring to?

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


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

1 follower(s)


Asked: 7/19/16, 6:13 AM
Seen: 412 times
Last updated: 8/3/16, 7:13 AM