Product Variant Template Data
product_variant_template_data · OCA/product-variant
Health
35/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 113 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 10.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
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.04 MB
Module directory on disk
Code analysis
3 migration notes
2 models
1 view
0 HTTP endpoints
Migration considerations
ProductTemplate— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (1 methods) migration-api-multi-one · sourceproduct_variant_easy_edit_view— 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- Raw `cr.execute()` INSERT/UPDATE/DELETE bypasses the ORM (no compute/constrains/tracking/mail): `UPDATE product_product SET sale_delay = product_template.sale_delay FROM product_template WHERE product_template.id = product_product.product_tmpl_id AND product_product.sale_delay IS NULL` - re-check the table/column names still match after upgrading. 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 1
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
product_variant_easy_edit_view |
product.product.view.form.easy | product.product | form | Inherits product.product_variant_easy_edit_view |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
New fields (1)
-
sale_delayFloathelp="The average delay in days between the confirmation of the customer order and the delivery of the finished products. It's the time you promise to your customers."string='Customer Lead Time'
-
create(self, vals)@api.model
New fields (0)
No new fields.
Public methods (2)-
create(self, vals)@api.model -
write(self, vals)@api.multi