Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.
Module: Purchase
Entity: purchase.order.line
Description: Purchase Order Line
| Field | Description | Type | Relationship | Compute Method |
|---|---|---|---|---|
| company_id | Company | Many-to-One | res.company | |
| currency_id | Currency | Many-to-One | order_id.currency_id | |
| date_approve | Confirmation Date | Datetime | order_id.date_approve | |
| date_order | Order Date | Datetime | order_id.date_order | |
| date_planned | Expected Arrival | Datetime | - | _compute_price_unit_and_date_planned_and_name |
| discount | Discount (%) | Float | - | _compute_price_unit_and_date_planned_and_name |
| display_type | Selection | - | ||
| invoice_lines | Bill Lines | One-to-Many | account.move.line | |
| name | Description | Text | - | _compute_price_unit_and_date_planned_and_name |
| order_id | Order Reference | Many-to-One | purchase.order | |
| partner_id | Partner | Many-to-One | res.partner | |
| price_subtotal | Subtotal | Monetary | - | _compute_amount |
| price_tax | Tax | Float | - | _compute_amount |
| price_total | Total | Monetary | - | _compute_amount |
| price_unit | Unit Price | Float | - | _compute_price_unit_and_date_planned_and_name |
| price_unit_discounted | Unit Price (Discounted) | Float | - | _compute_price_unit_discounted |
| product_id | Product | Many-to-One | product.product | |
| product_packaging_id | Packaging | Many-to-One | product.packaging | _compute_product_packaging_id |
| product_packaging_qty | Packaging Quantity | Float | - | _compute_product_packaging_qty |
| product_qty | Quantity | Float | - | _compute_product_qty |
| product_type | Selection | product_id.detailed_type | ||
| product_uom | Unit of Measure | Many-to-One | uom.uom | |
| product_uom_category_id | Many-to-One | product_id.uom_id.category_id | ||
| product_uom_qty | Total Quantity | Float | - | _compute_product_uom_qty |
| qty_invoiced | Billed Qty | Float | - | _compute_qty_invoiced |
| qty_received | Received Qty | Float | - | _compute_qty_received |
| qty_received_manual | Manual Received Qty | Float | - | |
| qty_received_method | Received Qty Method | Selection | - | _compute_qty_received_method |
| qty_to_invoice | To Invoice Quantity | Float | - | _compute_qty_invoiced |
| sequence | Sequence | Integer | - | |
| state | Selection | order_id.state | ||
| tax_calculation_rounding_method | Tax calculation rounding method | Selection | company_id.tax_calculation_rounding_method | |
| taxes_id | Taxes | Many-to-Many | account.tax |
