Repository
OCA/margin-analysis · module folder · Try on Runboat
Module version
1.0.3
Category
Products
Folder size
0.01 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
http://www.camptocamp.com/
Last tracking update
2026-08-07 06:56:11
Authors
Camptocamp, Odoo Community Association (OCA)
Maintainers
Camptocamp
Committers
Yannick Vaucher, Guewen Baconnier, Alexandre Fayolle, Joel Grand-Guillaume, Lionel Sausin (Numérigraphe)
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
product_cost_incl_bom, product_historical_margin, product_standard_margin, product_stock_cost_field_report, sale_markup
Description
Product Replenishment Cost
==========================

Provides an overridable method on product which compute the Replenishment cost
of a product. By default it just returns the value of "Cost price" field, but
using the product_cost_incl_bom module, it will return the costing from the
bom.

As it is a generic module, you can also setup your own way of computing the
cost_price for your product.

All OCA modules to compute margins are based on it, so you'll be able to use
them in your own way.

Contributors
------------

* Alexandre Fayolle <alexandre.fayolle@camptocamp.com>
* Yannick Vaucher <yannick.vaucher@camptocamp.com>
* Joël Grand-Guillaume <joel.grand-guillaume@camptocamp.com>
 

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
product_get_cost_field_form product.get_cost_field.view.form product.product form Inherits product.product_normal_form_view
product_get_cost_field_tree product.get_cost_field.view.tree product.product tree Inherits product.product_product_tree_view
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (1)

New fields (0)

No new fields.

Public methods (1)
  • get_cost_field(self, cr, uid, ids, context=None)

Loading…