pos.order.line
Point of Sale Order Line. Defined in module point_of_sale; exists in Odoo 16, 17, 18, 19, 20. Across the upgrade steps we tracked: 28 fields added, 10 removed, 0 renamed, 2 type changes.
- Odoo 16 point_of_sale
- Odoo 17 point_of_sale
- Odoo 18 point_of_sale
- Odoo 19 point_of_sale
- Odoo 20 point_of_sale
Fields removed (1)
| Field | Type | Module | Notes |
|---|---|---|---|
| mp_skip | boolean | pos_restaurant |
Fields added (6)
| Field | Type | Module |
|---|---|---|
| attribute_value_ids | many2many | point_of_sale |
| combo_id | many2one | pos_self_order |
| combo_line_ids | one2many | point_of_sale |
| combo_parent_id | many2one | point_of_sale |
| custom_attribute_value_ids | one2many | point_of_sale |
| skip_change | boolean | point_of_sale |
Fields added (7)
| Field | Type | Module |
|---|---|---|
| combo_item_id | many2one | point_of_sale |
| event_registration_ids | one2many | pos_event |
| event_ticket_id | many2one | pos_event |
| is_edited | boolean | point_of_sale |
| l10n_in_hsn_code | char | l10n_in_pos |
| price_type | selection | point_of_sale |
| qty_delivered | float | pos_sale |
Type changed (2)
| Field | Odoo 17 | Odoo 18 |
|---|---|---|
| price_subtotal | float | monetary |
| price_subtotal_incl | float | monetary |
Now also inherits pos.load.mixin (fields from these parents are listed on their own pages).
Fields removed (2)
| Field | Type | Module | Notes |
|---|---|---|---|
| skip_change | boolean | point_of_sale | |
| vat_letter | selection | pos_blackbox_be |
Fields added (9)
| Field | Type | Module |
|---|---|---|
| blackbox_plu | char | pos_blackbox_be |
| course_id | many2one | pos_restaurant |
| extra_tax_data | json | point_of_sale |
| l10n_be_vats | json | l10n_be_pos_blackbox |
| preparation_time | integer | pos_enterprise |
| rewarded_product_id | many2one | l10n_be_pos_blackbox_loyalty |
| service_time | integer | pos_enterprise |
| settled_invoice_id | many2one | pos_settle_due |
| settled_order_id | many2one | pos_settle_due |
Fields removed (7)
| Field | Type | Module | Notes |
|---|---|---|---|
| blackbox_plu | char | pos_blackbox_be | Its module (pos_blackbox_be) is not in Odoo 20: removed, renamed or merged into another module. |
| coupon_id | many2one | pos_loyalty | |
| l10n_be_vats | json | l10n_be_pos_blackbox | Its module (l10n_be_pos_blackbox) is not in Odoo 20: removed, renamed or merged into another module. |
| reward_identifier_code | char | pos_loyalty | |
| rewarded_product_id | many2one | l10n_be_pos_blackbox_loyalty | Its module (l10n_be_pos_blackbox_loyalty) is not in Odoo 20: removed, renamed or merged into another module. |
| settled_invoice_id | many2one | pos_settle_due | |
| settled_order_id | many2one | pos_settle_due |
Fields added (6)
| Field | Type | Module |
|---|---|---|
| card_id | many2one | pos_loyalty |
| gift_card_vals | json | pos_loyalty |
| has_default_product | boolean | pos_sale |
| prep_line_ids | one2many | point_of_sale |
| sale_order_line_name | text | pos_sale |
| urbanpiper_tax_liability | selection | pos_urban_piper |
Now also inherits res.currency.rate.consolidation.mixin (fields from these parents are listed on their own pages).
All fields declared on pos.order.line (65)
Fields this model declares itself in any version, with the versions they exist in. Inherited fields (mail.thread and other mixins) are on the parent model's page.
present not present not covered (Enterprise, Odoo 16 and 17)
Show all 65 fields
| Field | Type | Label | Module | 16 | 17 | 18 | 19 | 20 |
|---|---|---|---|---|---|---|---|---|
| attribute_value_ids | many2many product.template.attribute.value | Selected Attributes | point_of_sale | |||||
| blackbox_plu | char | PLU hash | pos_blackbox_beE | |||||
| card_id | many2one loyalty.card | Card | pos_loyalty | |||||
| combo_id | many2one product.combo | Combo Reference | pos_self_order | |||||
| combo_item_id | many2one product.combo.item | Combo Item | point_of_sale | |||||
| combo_line_ids | one2many pos.order.line | Combo Lines | point_of_sale | |||||
| combo_parent_id | many2one pos.order.line | Combo Parent | point_of_sale | |||||
| company_id | many2one res.company | Company | point_of_sale | |||||
| coupon_id | many2one loyalty.card | Coupon | pos_loyalty | |||||
| course_id | many2one restaurant.order.course | Course Ref | pos_restaurant | |||||
| currency_id | many2one res.currency | point_of_sale | ||||||
| custom_attribute_value_ids | one2many product.attribute.custom.value | Custom Values | point_of_sale | |||||
| customer_note | char | Customer Note | point_of_sale | |||||
| discount | float | Discount (%) | point_of_sale | |||||
| down_payment_details | text | Down Payment Details | pos_sale | |||||
| event_registration_ids | one2many event.registration | Event Registrations | pos_event | |||||
| event_ticket_id | many2one event.event.ticket | Event Ticket | pos_event | |||||
| extra_tax_data | json | point_of_sale | ||||||
| full_product_name | char | Full Product Name | point_of_sale | |||||
| gift_card_vals | json | pos_loyalty | ||||||
| has_default_product | boolean | pos_sale | ||||||
| is_edited | boolean | Edited | point_of_sale | |||||
| is_reward_line | boolean | pos_loyalty | ||||||
| is_total_cost_computed | boolean | point_of_sale | ||||||
| l10n_be_vats | json | l10n_be VATs JSON | l10n_be_pos_blackboxE | |||||
| l10n_in_hsn_code | char | HSN/SAC Code | l10n_in_pos | |||||
| margin | monetary | Margin | point_of_sale | |||||
| margin_percent | float | Margin (%) | point_of_sale | |||||
| mp_skip | boolean | Skip line when sending ticket to kitchen printers. | pos_restaurant | |||||
| name | char | Line No | point_of_sale | |||||
| note | char | Product Note | point_of_sale | |||||
| notice | char | Discount Notice | point_of_sale | |||||
| order_id | many2one pos.order | Order Ref | point_of_sale | |||||
| pack_lot_ids | one2many pos.pack.operation.lot | Lot/serial Number | pos_stock | |||||
| points_cost | float | pos_loyalty | ||||||
| prep_line_ids | one2many pos.prep.line | Preparation lines | point_of_sale | |||||
| preparation_time | integer | Preparation Time | pos_enterpriseE | |||||
| price_extra | float | Price extra | point_of_sale | |||||
| price_subtotal | monetary | Tax Excl. | point_of_sale | |||||
| price_subtotal_incl | monetary | Tax Incl. | point_of_sale | |||||
| price_type | selection | Price Type | point_of_sale | |||||
| price_unit | float | Unit Price | point_of_sale | |||||
| product_id | many2one product.product | Product | point_of_sale | |||||
| product_uom_id | many2one uom.uom | Product Unit | point_of_sale | |||||
| qty | float | Quantity | point_of_sale | |||||
| qty_delivered | float | Delivery Quantity | pos_sale | |||||
| refund_orderline_ids | one2many pos.order.line | Refund Order Lines | point_of_sale | |||||
| refunded_orderline_id | many2one pos.order.line | Refunded Order Line | point_of_sale | |||||
| refunded_qty | float | Refunded Quantity | point_of_sale | |||||
| reward_id | many2one loyalty.reward | Reward | pos_loyalty | |||||
| reward_identifier_code | char | pos_loyalty | ||||||
| rewarded_product_id | many2one product.product | Rewarded Product | l10n_be_pos_blackbox_loyaltyE | |||||
| sale_order_line_id | many2one sale.order.line | Source Sale Order Line | pos_sale | |||||
| sale_order_line_name | text | pos_sale | ||||||
| sale_order_origin_id | many2one sale.order | Linked Sale Order | pos_sale | |||||
| service_time | integer | Service Time | pos_enterpriseE | |||||
| settled_invoice_id | many2one account.move | Settled Invoice | pos_settle_dueE | |||||
| settled_order_id | many2one pos.order | Settled Order | pos_settle_dueE | |||||
| skip_change | boolean | Skip line when sending ticket to kitchen printers. | point_of_sale | |||||
| tax_ids | many2many account.tax | Taxes | point_of_sale | |||||
| tax_ids_after_fiscal_position | many2many account.tax | Taxes to Apply | point_of_sale | |||||
| total_cost | float | Total cost | point_of_sale | |||||
| urbanpiper_tax_liability | selection | UrbanPiper Tax Liability | pos_urban_piperE | |||||
| uuid | char | Uuid | point_of_sale | |||||
| vat_letter | selection | pos_blackbox_beE |