product_custom_attributes
product_custom_attributes · OCA/product-attribute
-
Security25/25No findings
-
Activity0/25Last human commit 102 months ago
-
Required by15/251 module depends on it
-
Maturity25/25In 5 Odoo series since 6.1
Heuristic over the facts below, not an audit · How it's computed
Migration considerations
open_product_by_attribute_set— Class 'open_product_by_attribute_set' 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— Migrating to 16.0: the web client no longer calls `fields_view_get`: override `_get_view` instead. migration-fields-view-get · sourceproduct_product_form_view_set_button— 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 · sourceproduct_template— Class 'product_template' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. (2 occurrences in this file) migration-old-style-fields · source- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv.orm`) (4 occurrences in this file) migration-openerp-import · source
- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv.orm`) 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 adds the possibility to easily create custom fields on products. Each product can be linked to an attribute set (like camera, fridge...). Each attribute has custom fields (for example, you don't need the same field for a frigde and a camera). In particular it's used by the Magento Magentoerpconnect module to match the EAV flexibility of Magento.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 3
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
open_product_by_attribute_set_view |
open.product.by.attribute.set.view | open.product.by.attribute.set | form | New |
product_attributes_form_view |
product.attributes.normal.wizard | product.product | form | New |
product_product_form_view_set_button |
attributes.product.normal.form | product.product | form | Inherits product.product_normal_form_view |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 3
No new fields.
Public methods (1)-
open_product_by_attribute(self, cr, uid, ids, context=None)Opens Product by attributes @param cr: the current row, from the database cursor, @param uid: the current user’s ID for security checks, @param ids: List of account chart’s IDs @return: dictionary of Product list window for a given attributes set
No new fields.
Public methods (3)-
fields_view_get(self, cr, uid, view_id=None, view_type='form', context=None, toolbar=False, submenu=False) -
open_attributes(self, cr, uid, ids, context=None) -
save_and_close_product_attributes(self, cr, uid, ids, context=None)
No new fields.
Public methods (0)No public methods.
Loading…
Loading…
Loading…
Loading…