This commit improves the expendability of the attachment_viewer model and component by making it less dependent on attachment_list. This is required by the refactoring in wowl of the documents app(s). TaskId-2898342 closes odoo/odoo#94930 Related: odoo/enterprise#28976 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>