WIP: Move RSS link and reuse generic view actions
Having a big "Generate RSS" button on the front page was strange, because the front page button are for common use cases that users are supposed to execute a lot. For example makes sense to have a "Submit new Support Request" button, because users are using this app to submit support requests, but generating RSS is very exceptional action, so we wanted to remove it from the front page.
The view of support requests in the app is a new "Discussable" page, where users can post comments and attach documents to their posts. If they attach document, a link to that document is displayed in the discussion thread. The problem was that this link was never really correct, depending on the portal type of the attached document. This was never really working, because the code here was taking the 1st action for image and 4th action for documents we believe that this was made to use the "preview" action of the portal type, but depending on the order of actions we had different results. This was simplified by extending ERP5JS router with
display_erp5_action_with_history. With this, we can select
html_viewaction view to each document attachment.