India

ZestyBeanz Technologies Pvt Ltd 4th Floor, Nila, Technopark Thiruvananthapuram,
India – 695581
Phone: +91 471 4063254
Fax : +91 471 2700171

   .

ZestyBeanz Technologies Pvt Ltd
61/3236, Manikkath Cross Road
Ravipuram, Kochi, India - 682016
Phone: +91 484 4063254

  UAE

Zesty Labs
Office # 2003, Millennium Plaza Building
Sheikh Zayed Rd, Dubai, UAE
Phone: +971 4333 2222​
Mobile: +971-52-7553466

  Germany​

ZestyBeanz Technologies GmbH
Reuterstraße 1
90408 Nürnberg
Fon: +49 911 4801 444
Fax: +49 911 4801 445

Advanced Printscreen for Odoo 7 and Odoo 8(Analytic Report Printing)

Contact Form


Prajul P T's picture

Advanced Printscreen for Odoo 7 and Odoo 8(Analytic Report Printing)

Printscreen has been and is an attractive feature of OpenERP. But unfortunately this feature was available for OpenERP 6.1 GTK Client. OpenERP 7 provide an functionality to print the current view in PDF.

You may have already noticed that i have already published a blog named "Printscreen in OpenERP 7 which was a migrated module from web_export_view with few my own functionality added to it. But now we have developed a new module called web_printscreen_zb with some new features that might be helpful to users of OpenERP 7. 

The main features of this module are:

  • Ability to export view in both PDF as well as in Excel.
  • Ability to export analytic views in to PDF and Excel including group totals.
  • Hierarchical view of the groups.

The module can be installed as a normal OpenERP module. The only python dependency that is need for the module is python-xlwt which is needed to export to xls file. This can be installed using the comment "sudo apt-get install python-xlwt" for Ubuntu. After installing the module, you can see two anchor buttons called "Export to PDF" and "Export to Excel" on the right side of the OpenERP web client as shown in the screenshot below:

These buttons will only appear if the active view is a tree view. This button wont be visible in any of the other view types. When the button "Export to PDF" is clicked, the report will be exported to PDF or if "Export to Excel", the report will be printed in "Excel". The heading and the totals will be printed in Bold. A sample screenshot of the excel and PDF report is shown below:

The module also allows to print analytic reports in to CSV of excel. The screenshot below shows an analytic view:

You can also see the "Export to Excel" and "Export to PDF" in the top right side of the view. If you click the button "Export to Excel", it will be exported to excel else if "Export to PDF", it will be exported to "PDF". A sample report is shown below:

A video showing the functionality of the module is shown below:

The module is attached with the blog. Module is also shared at https://github.com/zbeanz/openerp-7-web-addons. Module can also be downloaded from launchpad bzr branch lp:~r-launchpadzbeanz/zbeanz/addons.

Module is also available in Odoo 8. Module is attached with the blog.

AttachmentSize
web_printscreen_zb_24_mar_v7.zip18.16 KB
web_printscreen_zb_24_mar_v8.zip18.69 KB

Hai Anh's picture

Hi, I'm using Odoo v8 and

Hi, I'm using Odoo v8 and this module. Your module works perfect, except that my .pdf files are not readable because some characters are wrap by black boxes. I'm using Vietnamese.
How can I fix this?
Thanks.

Anonymous's picture

Thank you for sharing this

Thank you for sharing this usefull module,

I installed it on V8, but the smart buttons on Products page"Form view" disappeared !. I appreciate your help in this matter,

Thanks in advance.

Ricardo's picture

Hello, I tried your v9

Hello,

I tried your v9 version but it does not work. Can you send me a version 9 of the printsreen_zb that works?

Thanks!

Pedro Jorge's picture

This is very good! Thanks for

This is very good! Thanks for sharing!

mokni's picture

only one problem... arabic

only one problem... arabic language in pdf... please when i export pdf document in odoo with this module in English language i dont have problem but its impossible in arabic language

mehdi's picture

The name of excel file is

The name of excel file is Excel.xls ok but pdf file is PDF without extension then i change this code :
ligne 181 in controllers.py
'attachment; filename=PDF Export'), =>'attachment; filename=Export.pdf'),

mehdi's picture

i have a problem in arabic

i have a problem in arabic caracter when i export pdf file with web_printscreen_zb modul but i dont see this problem in the print report pdf function of odoo ?

Francis's picture

Hi this is really a great

Hi this is really a great module thanks so much for the time taken to develop it.

I picked up something though, it give the error say 30:23 is not a valid float when you try to use it on timesheet activites. Is there a work around to this?

Thanks

Nash's picture

You wrote that "These buttons

You wrote that "These buttons will only appear if the active view is a tree view". I think this may be misleading because the buttons will appear only if the active view is list view. Proof for this is "Bill of Materials Structure" page. The active view is tree view yet there are no visible buttons for export to PDF or Excel. Can you update module so it can print content, for instance, of "Bill of Materials Structure" page? Thanks.

Anonymous's picture

I have installed the module

I have installed the module web_printscreen_zb but it is not showing in my "Bill of Materials Structure" page. I think it is tree view one2many. Is that a limitation?