Product Cost field
product_cost_incl_costs_with_bom · OCA/margin-analysis
-
Security25/25No findings
-
Activity0/25Last human commit 122 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 4 Odoo series since 6.1
Heuristic over the facts below, not an audit · How it's computed
Migration considerations
product_cost_incl_costs_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 · 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 · source- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv.orm`) (2 occurrences in this file) 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 adds an Fixed cost field to the product form. So you can calculate a costprice with added costs. This module depends on the module product_cost_incl_bom. If the is a BoM, the added costs are added to the calculated cost price of the BoM.
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 |
|---|---|---|---|---|
product_cost_incl_costs_form |
product.product_cost_incl_costs.view.form | product.product | form | Inherits product.product_normal_form_view |
product_cost_incl_costs_tree |
product.product_cost_incl_costs.view.tree | product.product | tree | Inherits product.product_product_tree_view |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 1
No new fields.
Public methods (0)No public methods.
Loading…
Loading…
Loading…