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)
Attachment | Size |
---|---|
web_printscreen_24_jun.zip | 16.71 KB |
hi this module works perfect
hi this module works perfect but the thing is it is printing in excel format if we do in tree view only not in form view, .. how to do that
Hi, Please use our new
Hi,
Please use our new module http://zbeanztech.com/blog/advanced-printscreen-openerp-7
yes I installed it.. but it
yes I installed it.. but it is availabe on tree view only right. What abt form view to get a report in excel format?
web_export_view is already
web_export_view is already able to export lists within a form (in XLS format of course)
Hi, Yes by using
Hi,
Yes by using web_export_view we can export the tree view inside the for view like one2many fields. But we cant export other fields and if there is more than one such field in the form view, we will be able to export only one field. For example, in invoice we have the invoice lines and payments of the invoice. So if i export the invoice to excel, we will be able to export only invoice lines. If it is possible to export all the fields, please guide me.... I have downloaded the module from https://code.launchpad.net/~domsense/web-addons/7.0-web_export_view
Hi, Currently the
Hi,
Currently the printscreen functionality is available in tree view and analysis tree view only.
ok Is it possible to achieve
ok Is it possible to achieve that through changing code?
Yes... I think it can be made
Yes... I think it can be made possible...
How do you manage updates
How do you manage updates without VCS system ? You may share maintenance with other openerp partner contributions with a vcs systems like bazaar.
How can i be sure your module is sustainable (in time) without a professional way to manage it ?
Thanks for your response.
Hello. PDF is working fine.
Hello. PDF is working fine. But with Excell, files are not created. No error message, just the window to ask for the file name and then nothing. No error message into OpenERP logs.