Product Supplierinfo Group
product_supplierinfo_group · OCA/product-attribute
Health
50/100
fair
-
Security25/25No findings
-
Activity0/25Last human commit 45 months ago
-
Required by20/252 modules depend on it
-
Maturity5/25In 1 Odoo series since 14.0
Heuristic over the facts below, not an audit · How it's computed
Required by
2
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.36 MB
Module directory on disk
Code analysis
5 migration notes
3 models
5 views
0 HTTP endpoints
Migration considerations
ProductSupplierinfo— Migrating to 19.0: `_sql_constraints` is ignored and its constraints are silently not created: declare `models.Constraint` attributes instead. migration-sql-constraints · sourceProductSupplierinfoGroup— Migrating to 19.0: `_sql_constraints` is ignored and its constraints are silently not created: declare `models.Constraint` attributes instead. migration-sql-constraints · sourcesupplierinfo_group_view_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 · sourcesupplierinfo_group_view_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · source- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `INSERT INTO product_supplierinfo_group(%s) VALUES %s` - re-check the table/column names still match after upgrading. (2 occurrences in this file) migration-raw-sql-write · 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
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 5
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
assets_backend |
product supplierinfo group assets | ir.ui.view | qweb | Inherits web.assets_backend |
product_template_tree_view |
product.template | tree | Inherits product.product_template_form_view | |
supplierinfo_group_view_form |
supplierinfo_group_view_form | product.supplierinfo.group | form | New |
supplierinfo_group_view_tree |
supplierinfo_group_view_tree | product.supplierinfo.group | tree | New |
table_price_note |
table_price_note | ir.ui.view | qweb | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 3
New fields (8)
-
company_idMany2onerelated='group_id.company_id'store=True -
group_idMany2one → product.supplierinfo.groupondelete='cascade'required=True args: 'product.supplierinfo.group' -
nameMany2onerelated='group_id.partner_id'required=Falsestore=True -
product_codeCharrelated='group_id.product_code'store=True -
product_idMany2onerelated='group_id.product_id'store=True -
product_nameCharrelated='group_id.product_name'store=True -
product_tmpl_idMany2onerelated='group_id.product_tmpl_id'store=True -
sequenceIntegerrelated='group_id.sequence'store=True
-
create(self, list_vals)@api.model_create_multi
New fields (10)
-
company_idMany2one → res.companydefault=<expr>index=1 args: 'res.company', 'Company' -
has_multiple_variantsBooleancompute='_compute_has_variants' -
partner_idMany2one → res.partnerhelp='Vendor of this product'ondelete='cascade'required=True args: 'res.partner', 'Vendor' -
product_codeCharhelp="This vendor's product code will be used when printing a request for quotation. Keep empty to use the internal one." args: 'Vendor Product Code' -
product_idMany2one → product.producthelp='If not set, the vendor price will apply to all variants of this product.' args: 'product.product', 'Product Variant' -
product_nameCharhelp="This vendor's product name will be used when printing a request for quotation. Keep empty to use the internal one." args: 'Vendor Product Name' -
product_tmpl_idMany2one → product.templateondelete='cascade'required=True args: 'product.template' -
sequenceIntegerdefault=1help='Assigns the priority to the list of product vendor.' args: 'Sequence' -
supplierinfo_idsOne2many → product.supplierinfoargs: 'product.supplierinfo', 'group_id' -
unit_price_noteHtmlcompute='_compute_unit_price_note'string='Unit Prices (Min. Qty / Price)'
No public methods.
New fields (1)
-
supplierinfo_group_idsOne2many → product.supplierinfo.groupargs: 'product.supplierinfo.group', 'product_tmpl_id'
No public methods.
Loading…