Odoo Help

Welcome!

This community 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.

0

How to report print from kanban view ?

By
Ankit H Gandhi(AHG)
on 2/6/15, 7:01 AM 852 views

Hello Everyone,

     I want report print from kanban view.

     on kanban view have following option inside dropdown menu like

    Edit..

    Delete

    Send Email    

    I want to print option inside dropdown menu and when select print option from dropdown menu that time report will be generate

   Thanks in advance

   Regards,

   Ankit H Gandhi

    

0

zbik

--zbik--
5941
| 6 4 7
Lodz, Poland
--zbik--


zbik
On 2/6/15, 9:48 AM

In dropdown menu xml you include code, like this:

<li><a type="action" name="%(other_your_module.other_module_printing_action)d" >Print</a></li>

or like this

<li><a name="action_schedule_meeting" type="object">Schedule Meeting</a></li>

exapmples from module crm, crm_lead_view.xml, ir.ui.view with id="crm_case_kanban_view_leads"

UPDATE:

If you have kanban view for sale.order model, try this:

<li><a name="sale.report_sale_order" type="action">Print</a></li>

Thanks @ zbik..your answer is perfect but i have already customized the kanban view of sale module.but i want to print the report of sale order from kanban view can you give me which id i should write Thanks..

Ankit H Gandhi(AHG)
on 2/9/15, 1:19 AM

You have kanban view for sale.order model?

zbik
on 2/9/15, 3:25 AM

yes i customized the kanban view for sale.order model

Ankit H Gandhi(AHG)
on 2/9/15, 8:21 AM

answer updated

zbik
on 2/9/15, 8:38 AM

Thanks@ zabik It really helped me a lot and worked. +1 vote for this

Ankit H Gandhi(AHG)
on 2/9/15, 8:44 AM

If answer works in first step you accept it, to let other users know that it works. In the next step possibly vote.

zbik
on 2/9/15, 8:54 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 2/6/15, 7:01 AM
Seen: 852 times
Last updated: 3/16/15, 8:10 AM