Print action on selected lines of a tree

Asked by forstera

Hello all,
I received a request from my boss but doesnt know if it's possible. When he's displaying the list of partners (tree view) he'd like to be able to select some of them and then by a right-clicking (or something else) print every selected partner with their informations (partner addresses and partner contacts).

Before loosing my time looking for a solution, I just would like to know if it's possible. I' can make the report with all the informations with jasper report but is it possible to call it for every line selected ?

Thanks

Question information

Language:
English Edit question
Status:
Solved
For:
OpenERP Edit question
Assignee:
No assignee Edit question
Solved by:
Vinay Rana (OpenERP)
Solved:
Last query:
Last reply:
Revision history for this message
Vinay Rana (OpenERP) (vra-openerp) said :
#1

Hello forstera ,

Yes this is possible by selecting partner and print the report.Basically there are so many report which are called directly (without using wizard) like invoice report. This report is already exist which you talk in bug regarding partner address and that is label report.You may need more detail. You can change as for your need.

Hope this will help you.

Thanks.

Revision history for this message
forstera (arnaud-forster-deactivatedaccount) said :
#2

Hello vra,
Thank you for your answer. But how can I call it from the tree ? do I need a server action ? I don't know howto implement a right-click on a tree-view. Do you have info about that ?

Thanks very much for your efforts

Revision history for this message
Vinay Rana (OpenERP) (vra-openerp) said :
#3

Hello forstera ,

Why you need to implement this in right click.You can call the report from report action menu by simply selecting particular partner .If you have used partner as a relational field many2one in that time from right click you can call all the report action, wizard action and act window links.
For implementing report action from tree view you need to done changes from client side.
Hope this will help you.

Thanks.

Revision history for this message
forstera (arnaud-forster-deactivatedaccount) said :
#4

Yes but if many partners are selected, will the report action be called for each partner ?
Thanks

Revision history for this message
Vinay Rana (OpenERP) (vra-openerp) said :
#5

Hello,

Yes obviously ,It will be passed all selected partner ids from client so report will take all ids and display the related detail.

Hope this will help you.

Thanks.

Revision history for this message
forstera (arnaud-forster-deactivatedaccount) said :
#6

Yes, you helped me a lot, thanks very much. I really appreciate

Revision history for this message
Best Vinay Rana (OpenERP) (vra-openerp) said :
#7

Hello forstera,

Thanks Its my Duty.
Can you close this question if it is solved?

Thanks.

Revision history for this message
forstera (arnaud-forster-deactivatedaccount) said :
#8

Thanks vra (openerp), that solved my question.