TIP: You can type at any time to perform a new search.
Product Pricelist Margin
product_pricelist_margin · OCA/product-attribute
- Repository
- OCA/product-attribute · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Product
- Folder size
- 0.09 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/product-attribute
- Last tracking update
- 2026-08-07 08:42:54
- Authors
- Camptocamp, Odoo Community Association (OCA)
- Maintainers
- Camptocamp, Odoo Community Association (OCA)
- Committers
- Raphaël Valyi, Weblate, OCA-git-bot, oca-ci
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
This module shows the product's cost and margin from the pricelists. The margin is calculated as the difference between the price and the cost, expressed as a percentage of the price. The price is based on the computation applied from the current pricelist item. This allows the user to make price simulations while editing the pricelist item.
Code Analysis ⓘ
Views touched (4)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
product_pricelist_item_form_view_inerhit |
product.pricelist.item | form | Inherits product.product_pricelist_item_form_view | |
product_pricelist_item_tree_view_from_product_inherit |
product.pricelist.item | tree | Inherits product.product_pricelist_item_tree_view_from_product | |
product_pricelist_item_tree_view_inherit |
product.pricelist.item | tree | Inherits product.product_pricelist_item_tree_view | |
product_pricelist_view_inherit |
product.pricelist | Inherits product.product_pricelist_view |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (1)
New fields (3)
-
costFloatdigits='Product Price'related='product_tmpl_id.standard_price' -
marginFloatcompute='_compute_margin'digits='Product Price' -
margin_percentFloatcompute='_compute_margin'string='Margin (%)'
No public methods.
Loading…
Loading…
- Status
- Open migration PR — not merged yet for this version
- CI status
- green — ready to merge
- Open since
- 21 days ago
- Last activity
- 21 days ago
- Repository
- OCA/product-attribute
- Pull request
- [19.0] [MIG] product_pricelist_margin : Migration to 19.0 (#2358)