How to increase CSV field size limit for using import function? OR Best approach to upload many product pictures?
I tried it already the CSV import function but run into an CSV field size limit error - how and where exactly (in file model.py) can the CSV field size limit be increased?
we have over 1000 products in OpenERP and need to upload the pictures (which have the same name then the product key (internal reference). What is the best approach (alternative) to upload that many pictures and assign them to the product master?
thanks to the earlier post https://www.odoo.com/forum/Help-1/question/How-to-import-images-for-products-in-binary-to-the-database-1868
,and credits to Marc Casutto and Bart Criel, I managed to create an upload file for my pictures.
Unfortunately i run into the "field larger than field limit" error. I tried to add the "csv.field_size_limit(2097152)" into the model.py file, deleted the models.pyc file and restarted the server.
However no matter where i put the csv.field_size_limit statement the openerp either does not work or shows the same failure.
Could you please post specify more precisly where i have to put the csv.field_size_limit?
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: 6/2/14, 3:28 PM|
|Seen: 1559 times|
|Last updated: 3/16/15, 8:10 AM|