This question has been flagged

I want to create a button in inventory action dropdown which converts selected inventory lines data in to an excel file. how can I grab selected lines data and connect it to action?
I add the flow for more clearification:

Suppose I go to the inventory panel and choose my warehouse. Now I select some lines and click on action dropdown and select 'Convert_to_excel' button. then an excel should be created (details of the excel file is not necessary) using the data of the selected lines.

Avatar
Discard

Please provide a little bit more information regarding this..

Author

Suppose I go to the inventory panel and choose your warehouse. Now I select some lines and click on action dropdown and select 'Convert_to_excel' button. then an excel should be created (details of the excel file is not necessary) using the data of the selected lines.