Odoo Help

0

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

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

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

1 follower(s)

Stats

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