Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.
Module: Purchase landed costs - Alternative option
Entity: purchase.cost.distribution.line
Description: Purchase cost distribution Line
| Field | Description | Type | Relationship | Compute Method |
|---|---|---|---|---|
| company_id | Many-to-One | res.company | ||
| cost_ratio | Unit cost | Float | - | _compute_cost_ratio |
| distribution | Cost distribution | Many-to-One | purchase.cost.distribution | |
| expense_amount | Cost amount | Float | - | _compute_expense_amount |
| expense_lines | Expenses distribution lines | One-to-Many | purchase.cost.distribution.line.expense | |
| move_id | Picking line | Many-to-One | stock.move | |
| name | Char | - | _compute_name | |
| partner | Supplier | Many-to-One | res.partner | |
| picking_id | Picking | Many-to-One | stock.picking | |
| product_id | Many-to-One | product.product | _compute_product_id | |
| product_price_unit | Unit price | Float | move_id.price_unit | |
| product_qty | Quantity | Float | - | _compute_product_qty |
| product_uom | Unit of measure | Many-to-One | uom.uom | |
| product_volume | Volume | Float | product_id.product_tmpl_id.volume | |
| product_weight | Gross weight | Float | product_id.product_tmpl_id.weight | |
| purchase_id | Purchase order | Many-to-One | purchase.order | |
| purchase_line_id | Purchase order line | Many-to-One | purchase.order.line | |
| standard_price_new | New cost | Float | - | _compute_standard_price_new |
| standard_price_old | Previous cost | Float | - | _compute_standard_price_old |
| total_amount | Amount line | Float | - | _compute_total_amount |
| total_volume | Line volume | Float | - | _compute_total_volume |
| total_weight | Line weight | Float | - | _compute_total_weight |
