Product Variant Multi Advanced
product_variant_multi_advanced · OCA/product-variant
-
Security22/251 minor finding
-
Activity0/25Last human commit 102 months ago
-
Required by5/250 modules depend on it
-
Maturity18/25In 3 Odoo series since 6.1
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
product_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 · sourceproduct_template— Class 'product_template' 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. (2 occurrences in this file) migration-old-api-base · sourceview_product_variant_multi_advanced_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 · 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 extend the capacity of product_variant_multi giving the posibility of building automatically the name, the description... of the product from the product template. Due to some limit of the orm you will need to apply some patch on the server
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 2
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_product_normal_multi_advanced_form_view |
view.product.normal.multi.advanced.form | product.product | form | Inherits product.product_normal_form_view |
view_product_variant_multi_advanced_form |
view.product.variant.multi.advanced.product.variant.form | product.product | form | Inherits product_variant_multi.product_variant_form_view |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
No new fields.
Public methods (5)-
build_product_field(self, cr, uid, ids, field, context=None) -
build_product_name(self, cr, uid, ids, context=None) -
build_product_sale_description(self, cr, uid, ids, context=None) -
create(self, cr, uid, vals, context=None) -
write(self, cr, uid, ids, vals, context=None)
No new fields.
Public methods (1)-
button_generate_variants(self, cr, uid, ids, context=None)
Loading…
Loading…