Product Cost field Report
product_stock_cost_field_report · OCA/margin-analysis
-
Security25/25No findings
-
Activity0/25Last human commit 121 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 4 Odoo series since 7.0
Heuristic over the facts below, not an audit · How it's computed
Migration considerations
report_stock_move— Class 'report_stock_move' 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. (2 occurrences in this file) migration-old-api-base · source- Since 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
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
Product Cost field Report
This module override the reporting view of OpenERP to replace the standard_price field used by the new cost_price one. This way all reporting of OpenERP will now take this field into account and display the correct result.
We're talking here about the reporting found under : Reporting -> Warehouse
Contributors
- Joël Grand-Guillaume joel.grand-guillaume@camptocamp.com
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_get_cost_field.product_get_cost_field_form |
product.get_cost_field.view.form | product.product | form | Inherits product.product_normal_form_view |
view_product_standard_price_form |
product.product.standard.price.form.inherit | product.product | form | Inherits stock.view_product_standard_price_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
No new fields.
Public methods (1)-
init(self, cr)Override the SQL view tpo replace standard_price by cost_price
No new fields.
Public methods (1)-
init(self, cr)Override the SQL view tpo replace standard_price by cost_price
Loading…
Loading…
Loading…