TIP: You can type at any time to perform a new search.
Product Dependencies
product_dependencies · OCA/vertical-isp
Security findings
Security warnings
access_product_dependency— ACL grants write/create/unlink on 'model_product_dependency' to every user (portal/public included): no group is set. Verify record rules and test access as an unrelated public/portal user. acl-global-write · source
Found by automated static analysis: these patterns are usually risky, but only a manual review of the module can confirm a real issue.
Migration considerations
- Imports from the old `openerp.osv` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
product_dependency— Class 'product_dependency' 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_dependency— Class 'product_dependency' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourceproduct_dependency— Class 'product_dependency' declares `_defaults` 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_dependencies_form— For a target of Odoo 17.0+: view 'view_product_dependencies_form' uses `attrs=`/`states=`, which are no longer supported. Convert modifiers to direct Python boolean expressions in `invisible`/`readonly`/`required`; preserve the original AND/OR logic. migration-view-attrs-states · source
Migration review checklist, not a compatibility verdict. No target version is selected: apply version-specific advice only when migrating to that version or later.
- Repository
- OCA/vertical-isp · module folder · Try on Runboat
- Module version
- 1.0.1
- Category
- Product Management
- Folder size
- 0.01 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- www.savoirfairelinux.com
- Last tracking update
- 2026-08-07 07:17:54
- Authors
- Odoo Community Association (OCA), Savoirfaire-Linux Inc
- Maintainers
- Odoo Community Association (OCA), Savoirfaire-Linux Inc
- Committers
- Pedro M. Baeza, Stéphane Bidoul (ACSONE)
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- contract_isp_package_configurator
- Description
Product Dependencies ==================== Allows products to have other products/categories as dependencies. This module is primarily used by the contract_isp_wizard module to create product/service packages based on product inter-dependencies. It's aim is to provide the basic structure so that other modules can build sales wizards with decision trees based on each product dependency tree. This module is not related to the manufacturing process or the Bill of Materials.
Code Analysis
Views touched (2)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_product_dependencies_form |
product.dependencies.form | product.dependency | form | New |
view_product_dependencies_product_form |
product.dependencies.product.form | product.product | form | Inherits product.product_normal_form_view |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (2)
New fields (0)
No new fields.
Public methods (3)-
onchange_category_id(self, cr, uid, ids, category_id) -
onchange_product_id(self, cr, uid, ids, product_id) -
onchange_type(self, cr, uid, ids, type_name)
New fields (0)
No new fields.
Public methods (0)No public methods.
Loading…
Loading…
Loading…