Product Variant Cost Price
product_variant_cost_price · OCA/product-variant
Health
45/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 124 months ago
-
Required by15/251 module depends on it
-
Maturity5/25In 1 Odoo series since 8.0
Heuristic over the facts below, not an audit · How it's computed
Required by
1
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.19 MB
Module directory on disk
Code analysis
6 migration notes
4 models
0 views
0 HTTP endpoints
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
ProductProduct— 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 · sourceProductTemplate— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (2 methods) migration-api-multi-one · source- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) (2 occurrences in this file) migration-openerp-import · source
- Migrating to 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) 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
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 0
No views found for this module.
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 4
New fields (0)
No new fields.
Public methods (1)-
create(self, values)@api.model
New fields (1)
-
product_idMany2one → product.productcomodel_name='product.product'ondelete='cascade'string='Product'
No public methods.
New fields (2)
-
cost_methodSelectioncompany_dependent=Truecopy=Truehelp='Standard Price: The cost price is manually updated at the end of a specific period (usually every year).\nAverage Price: The cost price is recomputed at each incoming shipment and used for the product valuation.\nReal Price: The cost price displayed is the price of the last outgoing product (will be use in case of inventory loss for example).'required=Trueselection='_get_selection_cost_method'string='Costing Method' -
standard_priceFloatcompany_dependent=Truedigits=dp.get_precision('Product Price')groups='base.group_user'help='Cost price of the product variant used for standard stock valuation in accounting and used as a base price on purchase orders. Expressed in the default unit of measure of the product.'string='Cost Price'
-
create(self, values)@api.model -
write(self, values)@api.multi
New fields (0)
No new fields.
Public methods (2)-
create_variant_ids(self)@api.multiWrite in the new created variants the current template cost price. -
write(self, vals)@api.multiPropagate to the variants the template cost price (if modified).