Community mailing list archives

community@mail.odoo.com

Re: Uploading multiple files at once

by
Michael Pol
- 05/23/2015 11:55:35
Hello,

I have same requirement where I can select multiple files at once, but binary field allows to select only one file at a time from file system.

There is a module on github, https://github.com/OCA/knowledge/tree/8.0/__unported__/document_multiple_records. Here we also have to select files one by one, same like attachments in send mail wizard. 

I am thinking to host files on ftp and read from there by following directory structure. Does anyone have better solution for above problem?

Thanks


On Sat, May 23, 2015 at 8:10 PM, Carlos Enrique Contreras Vara <carlosecv@realsystems.com.mx> wrote:

Thank you André 

El Friday, May 22, 2015, André P. <app@thinkopen.solutions> escribió:

The hard way: use a piece of JavaScript to load a file uploading widget (like jQuery-Upload-File) to your view, which uploads using Ajax to your own controller, where you can process the files manually.

The easy way: tell the user to upload a .zip file, then extract it on the server using Python's zipfile module.

2015-05-21 20:38 GMT+01:00 Carlos Contreras <carlosecv@realsystems.com.mx>:
Hello

Do someone has solved how to upload multiple files from one folder?


I mean, I need to open the file selctor and search for a folder and 
upload the multiple text files on that folder for postprocessing those 
to openerp, and yes it cant be by sftp it has to be on user interfase.

Thanks in advance.

Regards.

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe




--



André Paramés

e.  app@thinkopen.solutions

LISBOA

Avenida das Túlipas,

nº 6, 13º A/B 

1495-161 Algés

t.   +351 808 455 255

PORTUGAL | BRASIL | ANGOLA

PORTO

Rua do Espinheiro,

nº 641, 2 SALA 2.3 

4400-450 V.N. Gaia

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe



--
Enviado con Gmail Mobile

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe