Sale Margin Delivered
sale_margin_delivered · OCA/margin-analysis
Health
95/100
good
-
Security25/25No findings
-
Activity25/25Last human commit 6 months ago
-
Required by20/252 modules depend on it
-
Maturity25/25In 7 Odoo series since 11.0
Heuristic over the facts below, not an audit · How it's computed
Required by
2
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.06 MB
Module directory on disk
Code analysis
0 migration notes
2 models
1 view
0 HTTP endpoints
Description
Computes sale order lines margins for the delivered items.
This module takes in consideration Outgoing and Returns.
Dependencies
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- sale_margin_delivered_dropshipping, sale_margin_delivered_security
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 1
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_order_form |
sale.order | form | Inherits sale_margin.sale_margin_sale_order_line_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
New fields (3)
-
margin_deliveredFloatcompute='_compute_margin_delivered'help='Total Margin of all delivered products.\n\nFormula: Delivered Quantities * (Unit Price with Discounts - Average Unit Cost of Delivered Products)\n\nValue may differ from Cost Price because Stock Valuation Layers are used instead of Cost on line.'store=True -
margin_delivered_percentFloatcompute='_compute_margin_delivered'help='Margin percent between the Unit Price with discounts and Delivered Unit Cost.\n\nFormula: ((Unit Price with Discounts - Average Unit Cost of delivered products) / Unit Price with Discounts)'readonly=Truestore=True -
purchase_price_deliveryFloatcompute='_compute_margin_delivered'help='Average Unit Cost of delivered products.\n\nFormula: Value Delivered / Quantity Delivered\n\nWhen using the FIFO method, the value of this field may not match the actual cost of the product delivered.\nThere may also be differences with the costing of the Sales from Deliveries report, because when the sales order is created, it is not known exactly which units will actually be delivered to calculate their cost.\nThis is because when the sales order is created, it is not known which units will actually be delivered to calculate their actual cost. You do not have this information until you validate the corresponding delivery note.'store=True
No public methods.
New fields (1)
-
margin_deliveredFloatreadonly=True
No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…