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

Printscreen in OpenERP 7

Contact Form


Prajul P T's picture

Printscreen in OpenERP 7

        Print screen was a feature of OpenERP which enables the user to take the printout of the tree view of the selected records. This feature was available in OpenERP 6.1 GTK client was not available in OpenERP 6.1 web client and OpenERP 7. In OpenERP 7, there is an option to take printout of the tree view. But in OpenERP 7 we cannot select the particular records which we want to print in the report. 

           We have developed a new module which enables users to take the printout of the selected records in the tree view. The module name is web_print screen. After installing the module, a new dropdown will be available in the header of each tree view. No configuration is required, jut installing the module is enough. A screenshot is shown below:

Print screen Menu

In the screenshot you could see on the top a new menu called "Print screen" has be added. It is a dropdown menu in which the user can select weather to print in PDF of Excel. A screenshot is shown below:

Print screen Dropdown

In the menu, user can either select to print the report in PDF or in Excel. When the user selects all the rows and select to print PDF, all the records will be printed. A screen shot is shown below:

Tree view with all records selected

Report Generated when all records selected

When selected particular records, only the selected records will be printed. A screenshot is shown below:

Tree view with tree records selected

Report generated when tree records selected

A screenshot of the excel report printed when all the records are selected is shown below:

Excel report generated when all records selected

The column name and number will vary based on the columns in the view selected.

Thanks to  http://www.agilebg.com for excel export code.(module web_export_view)

AttachmentSize
web_printscreen_24_jun.zip16.71 KB

Anonymous's picture

The module on which this one

The module on which this one was 'based' or 'inspired' (depending on your point of view) is at https://code.launchpad.net/~domsense/web-addons/7.0-web_export_view

Hector Ivan Valencia Muñoz's picture

The module does not work

The module does not work correctly when the language setting has the point (.) as thousands separator and comma (,) as decimal separator. (Spanish language).

Rjay's picture

Hello Is it possible to add

Hello

Is it possible to add headers, where I can put my text address and company logo?

Leonardo Pistone's picture

Hi, Thanks for your post.

Hi,

Thanks for your post. This module is actually an improvement over web_export_view, a module that is already in the new openerp community branches.

That module was for OpenERP 6.1 only, so it is great you ported it to OpenERP 7.

However, compare the main JS file in web_export_view

http://bazaar.launchpad.net/~webaddons-core-editors/web-addons/6.1/view/head:/web_export_view/static/js/web_advanced_export.js

to the corresponding web_printscreen/static/js/web_printscreen.js

It is basically the same code with copyright notices removed (same code, variables, indentation etc.)

I would suggest posting a merge proposal of your work to the 7.0 branch of the community web-addons:

https://code.launchpad.net/~webaddons-core-editors/web-addons/7.0

Of course you can acknowledge your work in the AUTHORS file.

Thanks!

Cristian Salamea's picture

Hi i test it the module words

Hi i test it the module words great ! just some lost feature group by in report.

For all 6.1 users i backported the module to 6.1 https://github.com/ovnicraft/web-addons, i keep authors and thanks for this work !.

Regards,

OpenCode's picture

If possible can you post code

If possible can you post code on any VCS hosting as Launchpad?

eLBati's picture

Great module! Do you have any

Great module! Do you have any public code repository for this?

Ray Carnes's picture

Numeric fields are exported

Numeric fields are exported as TEXT. When exporting something like Customer Invoices, the BALANCE, SUBTOTAL and TOTAL fields (containing numeric data) are showing up in Excel as TEXT.

Prajul P T's picture

  Hi,      Sorry for not

 

Hi,

     Sorry for not repling for long. I was a little bit busy. And thanks any way for your valuable comments. I have fixed the issue with the float fields being displayed as text. I have attached the new module in my blog. I will be uploading it to launchpad and the link will be shared here. All your valuable comments are welcome.....

Ray Carnes's picture

The numeric export issue has

The numeric export issue has been fixed with the 6.1 version of this module, see https://bugs.launchpad.net/web-addons/+bug/1046342 - I will look into how applicable this fix is for the 7.0 version - but if anyone beats me to it please post back.