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

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

By
Jignesh Mehta
on 7/19/16, 6:13 AM 317 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,


0

Jusab Sida (jsi)

--Jusab Sida (jsi)--
Tiny ERP Pvt Ltd
http://www.odoo.com
874
| 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...

0
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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

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