I have a tree view that lists records of a specific model
I want to allow the user to click on a record and redirect him/her to the form view of another model, for example: show the crm.lead tree view and when clicking on a record we would open the associated partner form using the id from the partner_id field of the crm.lead model.
The solution, so far, would be to add a button inside the tree view. That would mean that I could only click on the button and not the full record's width to open the corresponding form view.
Is there a way to accomplish this?
Any help would be very appreciated!
Thanks!