Odoo Help

8
6 Answers
4
haylahi
3/29/13, 5:17 PM

hello, you can do it with this module,

[Openerp Web PDF Report Preview & Print] https://github.com/buke/openerp-web-pdf-preview-print.git

3 Comments
Sudhir Arya (ERP Harbor Consulting Services)
5/2/13, 2:33 AM

Does it work in ubuntu or it works in windows only?

Shelton
5/2/13, 4:43 AM

This doesn't work with chrome in ubuntu..It throws an error get_title not defined..

Rachid
5/1/18, 10:16 AM

not working on the version 11.0

2
NIcolas Plée
5/1/13, 12:27 PM

I tried it with Google Chrome that natively deal with it and even try adding a dedicated module with no psitive result. It keeps asking to download the .pdf file. Why preview isn't natively included in OpenERP ? It seems to be a basical user need.

1
NIcolas Plée
5/1/13, 1:19 PM

I tried it with Google Chrome on MacOS that natively deals with it and even try adding a dedicated module with no positive result. It keeps asking to download the .pdf file.

But Haylahi's option worked like a charm and I can now preview Openerp pdfs in my browser.

Why PDF and other file preview isn't natively included in OpenERP ? It seems to be a basical user need.

1
Tim
3/29/13, 3:11 PM

I beleive this is possible with correct browser/pdf plugin settings and it has nothing to do with OpenERP

2 Comments
Altınkaya Elektronik Cihaz Kutuları imalat Ticaret ltd sti, Ahmet Altinisik
4/25/13, 8:48 PM

can you show us which browser and how, (I could not managed to do that)

Xeata Management Inc., James White
10/26/17, 10:09 AM

Hey Tim, I believe that this answer is incorrect. Browser will open any .pdf in browser EXCEPT in Odoo. It appears Odoo MIME is not set correctly for viewing.

1
Avatar

patrick

--patrick--

1961
| 5 4 7
Baarn, Netherlands
--patrick--
patrick
5/2/13, 8:35 PM

Another thought: give some naming to the PDF-files you want to save, so you can see the difference between them.

Settings -> Actions -> Reports

Click on report you want to change the default name of

in the field behind 'Save as Attachment Prefix' you can specify the name. You can use python code to specify the name. My situation:

((object.name or '!NoName')+('_')+time.strftime('%Y-%m-%d-%H-%M').replace('-','')+'.pdf')

This will use the name of the object, an _ and than the year (not century), month, day, hour and minute of the moment you pressed the print button for this object.

1 Comment
Shelton
5/3/13, 3:29 AM

This will not work with jasper reports, only rml reports..

0
john
4/17/13, 10:40 AM

Firefox browser can preview the pdf with option to print or save

Ask a Question
Writer
Keep Informed
2 follower(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