Need to upload muliple folders in documents in odoo 18. its only allow files, i need to upload folders
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客戶關係
- e-Commerce
- 會計
- 庫存
- PoS
- 專案管理
- MRP
此問題已被標幟
2
回覆
346
瀏覽次數
Hi,
Odoo 18's Documents module doesn't directly support folder uploads. A simple workaround is to zip folders, upload the ZIP files, and manually unzip them. A better approach is to create the desired folder structure within Odoo and then upload files individually to their corresponding folders.
For a more robust solution, you can develop a custom Odoo module that adds folder upload functionality. This involves extending the Documents module, adding a new upload button, handling the folder structure recursively, and using JavaScript for client-side processing. Alternatively, check the Odoo App Store for existing apps that provide folder upload capabilities. When implementing a custom solution, prioritize security, performance, and user experience.
Hope it helps
For now, you can not upload a folder, but only files
As you can upload many files at once, here is the recommended way
- Go to Documents App
- Create a folder
- Go inside that folder
- Upload multiple files
Another solution is to have your folders in an external system and link them to an Odoo record, but that needs this OCA module https://github.com/OCA/storage/tree/18.0/fs_folder
Other than that, uploading folders needs a custom implementation
Hope it helps
Hope it helps
| 相關帖文 | 回覆 | 瀏覽次數 | 活動 | |
|---|---|---|---|---|
|
|
1
11月 25
|
318 | ||
|
|
4
7月 23
|
8841 | ||
|
|
1
12月 21
|
3427 | ||
|
|
0
5月 20
|
3278 | ||
|
|
1
1月 20
|
4036 |