| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/margin-analysis |
| GIT | |
| GIT | https://github.com/OCA/margin-analysis.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/margin-analysis/tree/7.0/product_get_cost_field |
| VERSION | |
| VERSION | 1.0.3 |
| CATEGORY | |
| CATEGORY | Products |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Camptocamp |
| MAINTAINERS | |
| MAINTAINERS | Camptocamp |
| COMMITTERS | |
| COMMITTERS | Yannick Vaucher, Guewen Baconnier, Alexandre Fayolle, Joel Grand-Guillaume, Lionel Sausin (Numérigraphe) |
| WEBSITE | |
| WEBSITE | http://www.camptocamp.com/ |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:07:15 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - product - base - process - web - decimal_precision - base_setup - web_kanban |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| 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> |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
product_get_cost_field_form |
product.get_cost_field.view.form | product.product | field | Inherits product.product_normal_form_view |
product_get_cost_field_tree |
product.get_cost_field.view.tree | product.product | field | Inherits product.product_product_tree_view |
No new fields.
Public methods (1)get_cost_field(self, cr, uid, ids, context=None)
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/margin-analysis |
| GIT | |
| GIT | https://github.com/OCA/margin-analysis.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/margin-analysis/tree/6.1/product_get_cost_field |
| VERSION | |
| VERSION | 0.1 |
| CATEGORY | |
| CATEGORY | Products |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Camptocamp |
| MAINTAINERS | |
| MAINTAINERS | Camptocamp |
| COMMITTERS | |
| COMMITTERS | Alexandre Fayolle, Joël Grand-Guillaume, Alexandre Fayolle @ camptocamp, Endian Solutions |
| WEBSITE | |
| WEBSITE | http://www.camptocamp.com/ |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:04:06 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - product - base - process - decimal_precision |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | Provides an overridable method on product which compute the cost_price field of a product. By default it just return the value of standard_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 our modules to compute margin are based on it, so you'll ba able to use them in your own way. |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
product_get_cost_field_form |
product.get_cost_field.view.form | product.product | field | Inherits product.product_normal_form_view |
product_get_cost_field_tree |
product.get_cost_field.view.tree | product.product | field | Inherits product.product_product_tree_view |
No new fields.
Public methods (1)get_cost_field(self, cr, uid, ids, context=None)