This question has been flagged
1 Reply
4194 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

    

Avatar
Discard
Best Answer

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>

Avatar
Discard
Author

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

You have kanban view for sale.order model?

Author

yes i customized the kanban view for sale.order model

answer updated

Author

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

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