I am trying to set the attachment to be uploaded to the external storage via FTP connection. I have read through some articles from odoo regarding the settings but no success.
Any guidance would be highly appreciated.
This article guide me how to set the parameters. After the parameters has been set, the upload attachment process hang.
From my understanding, this article shows how to configure the file attachment to be same as the openerp database location. How if I have an external FTP ?
Yes it's for OpenERP Documents (but not only for storing documents into the database location: you can configure it to use the file system as a storage space, by configuring the ir_attachement.location = file:///filestore, under settings --> Technical --> Parameters --> System Parameters).
For your need, you can use the following repo: http://bazaar.launchpad.net/~akretion-team/file-exchange/file-exchange/files
( Back from Travel - Edited on Sep 09 2014 )
Sorry for the late Ken.
After uploading the modules, you have to install them, and after that you will find a new menu " File Exchange" under "Settings", there you can configure your File Repo ...
Some remarks: (according to the images links you've posted)
Don't confuse between accessing your sytem files (and folders) via WinSCP on Synology Server from your Window PC, and accessing (browsing) your OpenERP documents (which are under a Linux file System) via FTP from within OpenERP. They are two different things ! handled each one by 2 different FTP servers. (http://s22.postimg.org/7co7f76r5/image.png this opertion relies on document_ftp module).
If you just need to access them (OpenERP Documents) via WinSCP they are under /volume1/@appstore/openerp/filestore/you_database_name or at any others ftp locations you are using, but this is not the case of your question.
At this stage, you should first verify that you are not running under the following case: FTP disabled in multiprocess mode (just take a look in your openerp-server.log file to see if there is a similar message) and to be sure that your ftp server is running.
Another important thing is, when uploading a file hangs and seems to take a long time (http://s22.postimg.org/bn2vasbu9/image.png), this is probably due to the size of the file, in this case you can override this limitation by using https://www.odoo.com/apps?search=attachment_size_limit&series=7.0
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 8/26/14, 4:16 AM|
|Seen: 3230 times|
|Last updated: 3/16/15, 8:10 AM|