| 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/10.0/sale_line_cost_control |
| VERSION | |
| VERSION | 1.0.0 |
| CATEGORY | |
| CATEGORY | Sales |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Camptocamp |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), Camptocamp |
| COMMITTERS | |
| COMMITTERS | Guewen Baconnier, Stéphane Bidoul (ACSONE), Francisco Fernández @PlanetaTIC, OCA Transbot, oca-travis, OCA-git-bot |
| WEBSITE | |
| WEBSITE | https://www.camptocamp.com |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:20:00 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - sale - sales_team - base - base_setup - web_kanban - web - bus - web_tour - account - product - decimal_precision - report - analytic - web_planner - procurement - sale_margin |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
sale_margin_sale_order_line_form |
sale.order.form | sale.order | xpath | Inherits sale_margin.sale_margin_sale_order_line |
sale_margin_sale_order_line_tree |
sale.order.form | sale.order | xpath | Inherits sale_margin.sale_margin_sale_order_line_form |
view_set_sale_line_purchase_price |
Set Cost | set.sale.line.purchase.price | form | New |
purchase_price_missing
Boolean
compute='_compute_purchase_price_missing'
string='Missing Cost'
No public methods.
currency_id
Many2one → res.currency
comodel_name='res.currency'
default=<expr>
required=True
string='Currency'
line_id
Many2one → sale.order.line
comodel_name='sale.order.line'
default=<expr>
readonly=True
required=True
string='Sale Line'
purchase_price
Float
digits=dp.get_precision('Product Price')
groups='base.group_user'
help='Cost of the product template 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'
confirm_purchase_price(self)