TIP: You can type at any time to perform a new search.
Product Images
product_images · odoo/odoo
- Repository
- odoo/odoo · module folder
- Module version
- 1.0
- Category
- Technical
- Folder size
- 0.49 MB
- License
- LGPL-3
- Application
- No
- Auto-installable
- No
- Website
- None
- Last tracking update
- 2026-08-15 22:24:35
- Authors
- Maintainers
- None
- Committers
- Raphael Collet, Odoo Translation Bot, Odoo Online, Tiffany Chang (tic), Loan (LSE), Louis (wil)
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
Automatically set product images based on the barcode ===================================================== This module integrates with the Google Custom Search API to set images on products based on the barcode.
Code Analysis ⓘ
Views touched (2)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
product_fetch_image_wizard_view_form |
product.fetch.image.wizard.view | product.fetch.image.wizard | form | New |
res_config_settings_view_form |
res.config.settings.view.form.inherit.product.images | res.config.settings | form | Inherits base_setup.res_config_settings_view_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (4)
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (4)
-
nb_products_selectedIntegerreadonly=Truestring='Number of selected products' -
nb_products_to_processIntegerreadonly=Truestring='Number of products to process' -
nb_products_unable_to_processIntegerreadonly=Truestring='Number of product unprocessable' -
products_to_processMany2many → product.productcomodel_name='product.product'help='The list of selected products that meet the criteria (have a barcode and no image)'
-
action_fetch_image(self)Fetch the images of the first ten products and delegate the remaining to the cron. The first ten images are immediately fetched to improve the user experience. This way, they can immediately browse the processed products and be assured that the task is running well. Also, if any error occurs, it can be thrown to the user. Then, a cron job is triggered to be run as soon as possible, unless the daily request limit has been reached. In that case, the cron job is scheduled to run a day later. :return: A notification to inform the user about the outcome of the action :rtype: dict -
default_get(self, fields_list)@api.model
New fields (1)
-
image_fetch_pendingBooleanhelp='Whether an image must be fetched for this product. Handled by a cron.'
No public methods.
New fields (2)
-
google_custom_search_keyCharconfig_parameter='google.custom_search.key'string='Google Custom Search API Key' -
google_pse_idCharconfig_parameter='google.pse.id'string='The identifier of the Google Programmable Search Engine'
No public methods.
Loading…
Loading…
Loading…