Skip to Content
Menu
This question has been flagged
1 Reply
4451 Views

Hi,

I want to print the tree view in a pdf format with a specific colomn for the selected records from the tree view ( like what is in  the excel export view) any help. thanks

 

Avatar
Discard
Best Answer

You can get the records which are selected from the tree view from the 'active_ids' key in the self._context dictionary. Try printing self._context in the button Method.

You can create a table in the Qweb and populate the columns and rows from the selected ids, to print a tree like report.

Avatar
Discard