Skip to Content
Menú
This question has been flagged
1 Respondre
189 Vistes

Hi all,


I want to migrate an internal site containing some basic media files like ppts, videos, docx, etc. to one I will create with the Website module in our new Odoo instance. 

It needs to be viewable by authenticated users only, for which I am setting visibility on pages to "signed in", that side seems good. Stakeholders would prefer to have a simple internal website, pretty much a static site, but secured, not accessible without an account, over having just a file folder on Onedrive or something.

However, I don't see any obvious way to upload files to an Odoo website so it can easily be viewed by users. Is Odoo Documents the way to go here? On a Website page, can I link to a file in Documents? Can I embed it? In the "Inner Content" blocks in the Website wysiwg editor, there's no element like File, Attachment, Document, etc etc.


Thanks in advance 

Avatar
Descartar
Best Answer

Hi,


In Odoo, the Website app is mainly for building web pages and does not provide a built-in file repository for uploading documents like PPTs, DOCXs, or videos. You can embed media such as images or YouTube/Vimeo videos, but you cannot directly upload and serve files for download.


For managing and hosting files inside Odoo, the Documents app is the right tool. You can upload PPT, DOCX, PDF, or video files into a workspace, control access so only logged-in users can view or download them, and link to these files from Website pages. PDFs can also be embedded in Website pages using an <iframe>, while other Office formats generally require users to download them unless integrated with a third-party viewer. Videos can either be stored in Documents for download or hosted on platforms like Vimeo or YouTube for inline playback.


The best practice is to use the Website module to build your internal portal (restricting access to signed-in users) and use the Documents app as the backend repository. Website pages can then include links or buttons pointing to files in Documents, and for certain files like PDFs, you can embed them directly into the page. This approach ensures secure access, clean site navigation, and centralized file management. For advanced needs, such as inline previews of Office files, custom development or third-party integrations would be required.



Hope it helps

Avatar
Descartar