Product Image Gallery
product_images · OCA/product-attribute
Renamed to product_multi_image in 8.0
product_images_olbs (7.0)OCA/product-attribute 7.0 → odoo/odoo 15.0–18.0
-
Security25/25No findings
-
Activity0/25Last human commit 141 months ago
-
Required by20/252 modules depend on it
-
Maturity5/25In 1 Odoo series since 7.0
Heuristic over the facts below, not an audit · How it's computed
Migration considerations
- Migrating to 19.0: only `__manifest__.py` is recognized: a module with `__openerp__.py` is not detected at all. migration-openerp-manifest · source
ResCompany— Class 'ResCompany' still inherits from the old-style `orm.Model` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · sourceResCompany— Class 'ResCompany' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceproduct_product— Class 'product_product' still inherits from the old-style `orm.Model` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · sourceproduct_product— Class 'product_product' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceview_product_image_form— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · sourceview_product_image_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · source- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) migration-openerp-import · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
This Module implements an Image Gallery for products. You can add images to every product.
This module is generic but built for Magento ERP connector and the upcoming e-commerce system for Open ERP by Open Labs
Dependencies
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- magentoerpconnect_catalog, prestashoperpconnect
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 4
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_company_form_product_images |
res.company.form.inherit | res.company | form | Inherits base.view_company_form |
view_product_form_img_inh |
product.product.images | product.product | form | Inherits product.product_normal_form_view |
view_product_image_form |
product.images.form | product.images | form | New |
view_product_image_tree |
product.images.tree | product.images | tree | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
No new fields.
Public methods (4)-
copy(self, cr, uid, id, default=None, context=None) -
create_image_from_url(self, cr, uid, id, url, image_name=None, context=None) -
get_main_image(self, cr, uid, id, context=None) -
write(self, cr, uid, ids, vals, context=None)
No new fields.
Public methods (1)-
get_local_media_repository(self, cr, uid, id=None, context=None)