Mega Cloud Storage Connector
Store, share, and manage your Mega.nz files β directly from Odoo. Multi-account, inline preview, one-click share links.
Why Choose This Module?
Everything you need to integrate Mega.nz seamlessly with your Odoo workflow.
|
β
Mega Files DashboardBrowse all Mega files in Grid or List view directly inside Odoo β with inline thumbnails. |
π€
Multi-Account SupportConfigure multiple Mega accounts β each with its own credentials and root folder. Switch instantly from the dashboard. |
π
Inline PreviewImages and PDFs render inline in the grid β plus a full preview panel with file details. |
|
π
One-Click Share LinksGenerate public Mega share links directly from the dashboard β copy to clipboard or open on Mega. |
β¬
Direct UploadUpload any file to your Mega account through a clean wizard β no Mega web login needed. |
π
Search & FilterLive search, filter by type (PDF, Image, ZIP, XLSX), sort by name / date / size. |
Requirements
Two Python packages β a one-time install on your Odoo server.
pip install mega.py
then
pip install --upgrade tenacity
pip install pypdfium2
β enables server-side PDF thumbnail rendering in the dashboard grid.
Get a Mega Account
You'll need a Mega.nz account to use this connector β 20 GB free storage with end-to-end encryption.
|
π
Mega EmailEmail address of the Mega account. Use a dedicated account for integration, not your personal one. |
π
Mega PasswordAccount password. Stored encrypted in Odoo and never exposed via the UI. |
π
Root Folder
Folder name on Mega where uploads land. Auto-created if missing. Default: |
Step 1
Create Your Free Mega AccountGo to mega.io and click Sign up. You get 20 GB free storage, end-to-end encryption, and secure link sharing. No credit card required. |
|
|
Step 2
Log In to VerifyConfirm the credentials you'll use in Odoo work by signing in at mega.nz. These are the same email and password you'll enter in the Odoo account form. |
Step 3
Your Mega DriveOnce signed in, you'll land on your Mega drive with all your files. The connector will read from β and write to β this drive from inside Odoo. |
|
Install the Module
Search for Mega Cloud Storage Connector in Odoo Apps and install it in one click.
Odoo Apps β search Mega β click Install
Configuration in Odoo
Create one or more Mega Accounts β each with its own credentials and its own root folder.
|
1
Open Mega AccountsIn Odoo, go to Settings β Mega Accounts in the top menu. |
2
Create AccountClick New and give it a clear name like Production Mega. |
3
Fill CredentialsEnter your Mega email, password, and root folder. |
4
Test ConnectionClick Test Connection to verify credentials against Mega. |
5
SaveSave and repeat for as many Mega accounts as you need. |
Settings β Mega Accounts β click New to add your first account
Mega Account form β the Models to Sync tab with Sales Order selected for automatic uploads
Green notification confirms Mega credentials are valid
Mega Cloud Files Dashboard
A dedicated Mega Files dashboard with two views β instantly browse your Mega drive without leaving Odoo.
β‘ Grid ViewVisual card layout with PDF and image thumbnails rendered server-side. |
π List ViewDetailed tabular layout β sort by name, type, modified date, or size. |
Filter by type β instantly narrow down to PDFs, images, spreadsheets, and more
Inline File Preview
Click any file to open a rich preview panel β no download, no separate window.
π Image PreviewFull-quality image inline with file details, size, and modified date. |
π PDF PreviewFull PDF renders inside the preview panel β no external PDF viewer needed. |
One-Click Share
Generate Share LinksClick Get Share Link and Mega instantly returns a public download URL. Copy it to clipboard or open it directly β share with clients, teammates, or vendors.
|
|
Direct Upload to Mega
No need to open the Mega web interface β upload any file to any of your Mega accounts, right from Odoo.
|
1
Click UploadClick the red Upload button in the dashboard's top-right corner. |
2
Pick Account & FileChoose which Mega account to upload to, then select your file. |
3
DoneClick Upload. A success notification confirms β refresh the dashboard to see it live. |
Automatic Scheduled Uploads
Beyond manual uploads, the module can push attachments to Mega on its own. Choose which Odoo models each Mega account should watch, and a daily scheduled action does the rest β hands-free.
|
1
Select Models to SyncOn the Mega Account form, open the Models to Sync tab and add models such as Sales Order, Invoice or Purchase Order. |
2
Attach Files as UsualUsers keep attaching documents to those records normally β e.g. a PDF on a Sales Order. No extra action needed. |
3
Daily Auto-UploadThe βMega Upload Attachmentβ scheduled action runs every day and uploads the last 24 hours of new attachments to each account's root folder on Mega. |
4
Tracked & LoggedEach file is uploaded only once per account, and a note is posted in the record's chatter confirming the upload. |
Technical Information
|
Odoo Version
18.0
|
License
AGPL-3
|
Category
Document Management
|
Dependencies
base, mail
|
mega.py,
tenacity (upgraded),
and optionally
pypdfium2
for PDF thumbnails.
Need Help or Customization?
We're here to help with installation, configuration, and any custom requirements.
Visit mountsol.com β| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 2281 |
| Technical Name |
ms_mega_storage |
| License | AGPL-3 |
| Website | https://www.mountsol.com |
Please log in to comment on this module