Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bulk images upload #13

Open
ndemoreau opened this issue Jan 7, 2015 · 7 comments
Open

bulk images upload #13

ndemoreau opened this issue Jan 7, 2015 · 7 comments

Comments

@ndemoreau
Copy link

Hi,

is it possible to upload all the images (of all items) at once through the Odoo soft?

Thanks!

@lukebranch
Copy link

@ndemoreau ,

It's possible to import multiple images in the same manner that you would import into any one2many relationship in Odoo using the standard Odoo import functionality.

At this point in time the module only supports importing in base64 format for the images from a CSV file, but there are plans to add support for importing images from a remote URL, or local directory path in the near future.

The module will implement some of the features found in the following modules:

https://github.com/maxmumford/oe_import_product_images

https://github.com/maxmumford/odoo_product_images_csv

and will expand on the functionality to allow for a similar import syntax to the Magmi project that is used for Magento:

https://github.com/dweeves/magmi-git

In the meantime if you are not familiar with the process of doing mass updates to products via CSV i'd recommend doing some research on the forums:

help.odoo.com

I'd suggest posing the question on how to import into a one2many with this use-case in mind so that others in the community can help you with more detailed instructions.

In a nutshell you need to export your entire product list from Odoo complete with the database ID (comes as a default column with every product export), product name, and the Products/Images columns that can be found in your product export options after you have installed the module.

It should then be as simple as putting the required data in the appropriate fields and then doing an import when you are finished.

If you run into any error similar to the following:

Import preview failed due to: field larger than field limit (131072).

i'd recommend looking into this forum post:

https://www.odoo.com/forum/help-1/question/csv-product-import-issues-import-preview-failed-due-to-field-larger-than-field-limit-131072-57081

as Odoo sometimes has issues uploading huge CSV files or ones with lots of data per field (eg. base64 image).

I will leave this issue open as a feature request, as I aim to implement a better method of doing mass imports for product images using URL's or local paths in the near future.

Thanks for your interest in the project, and please feel free to open a new issue if you run into any problems with the module or have any feature requests.

@ndemoreau
Copy link
Author

Hi Luke,

thank you for your long response.

I'm used to do uploads in Odoo via the GUI and base64 images are ok for
me but todo that, I start from a table with all the records and I upload my
data with the correct foreign keys.

In this case, as there is no screen with the associated model (only the
table in the product datasheet), I don't know how to do (where to go...).

On Thu, Jan 8, 2015 at 6:19 AM, Luke Branch [email protected]
wrote:

@ndemoreau https://github.com/ndemoreau ,

It's possible to import multiple images in the same manner that you would
import into any one2many relationship in Odoo using the standard Odoo
import functionality.

At this point in time the module only supports importing in base64 format
for the images from a CSV file, but there are plans to add support for
importing images from a remote URL, or local directory path in the near
future.

The module will implement some of the features found in the following
modules:

https://github.com/maxmumford/oe_import_product_images

https://github.com/maxmumford/odoo_product_images_csv

and will expand on the functionality to allow for a similar import syntax
to the Magmi project that is used for Magento:

https://github.com/dweeves/magmi-git

In the meantime if you are not familiar with the process of doing mass
updates to products via CSV i'd recommend doing some research on the forums:

help.odoo.com

I'd suggest posing the question on how to import into a one2many with this
use-case in mind so that others in the community can help you with more
detailed instructions.

In a nutshell you need to export your entire product list from Odoo
complete with the database ID (comes as a default column with every product
export), product name, and the Products/Images columns that can be found in
your product export options after you have installed the module.

It should then be as simple as putting the required data in the
appropriate fields and then doing an import when you are finished.

If you run into any error similar to the following:

Import preview failed due to: field larger than field limit (131072).

i'd recommend looking into this forum post:

https://www.odoo.com/forum/help-1/question/csv-product-import-issues-import-preview-failed-due-to-field-larger-than-field-limit-131072-57081

as Odoo sometimes has issues uploading huge CSV files or ones with lots of
data per field (eg. base64 image).

I will leave this issue open as a feature request, as I aim to implement a
better method of doing mass imports for product images using URL's or local
paths in the near future.

Thanks for your interest in the project, and please feel free to open a
new issue if you run into any problems with the module or have any feature
requests.


Reply to this email directly or view it on GitHub
#13 (comment)
.


Nicolas de Moreau

M: +32 (0)475 614 700
@: [email protected]
Twitter: ndemoreau
Skype: ndemoreau

Leuvensebaan 52
B-3040 Ottenburg – Belgium

@RicardoBer
Copy link

Hello,

I try to export 1 product with 2 images, after that, I try to import that, but fail with no message, only red bar, so, it is no possible.

@cliffkujala
Copy link

Has anyone successfully modified, or used this: https://github.com/maxmumford/oe_import_product_images
to import product images into Odoo v9?

@lukebranch
Copy link

@cliffkujala ,

I haven't looked into the maxmumford module in detail yet, however there were a few possible options I looked into awhile back.

Here's one:

https://github.com/SythilTech/Odoo9/tree/9.0/mass_image_upload

and here's another for version 8.0:

https://github.com/initOS/connector-interfaces/tree/8.0-connector_flow

I have not yet had the chance to test either of these in much detail, however I believe both would be workable with a bit of customisation.

@Cywaithaka
Copy link

We created a module to enable users import product images in odoo using a csv file. Simply upload the urls of the product images in odoo and then click on a button to download theme. Download a copy of the module from here. https://apps.odoo.com/apps/modules/10.0/product_image_from_url/

@ndemoreau
Copy link
Author

ndemoreau commented May 30, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants