Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.
Module: Point of Sale
Entity: pos.order
Description: Point of Sale Order
| Field | Description | Type | Relationship | Compute Method |
|---|---|---|---|---|
| account_move | Invoice | Many-to-One | account.move | |
| amount_difference | Difference | Monetary | - | |
| amount_paid | Paid | Monetary | - | |
| amount_return | Returned | Monetary | - | |
| amount_tax | Taxes | Monetary | - | |
| amount_total | Total | Monetary | - | |
| available_payment_method_ids | Available Payment Methods | Many-to-Many | pos.payment.method | |
| company_id | Company | Many-to-One | res.company | |
| config_id | Point of Sale | Many-to-One | pos.config | _compute_order_config_id |
| country_code | Char | company_id.account_fiscal_country_id.code | ||
| currency_id | Currency | Many-to-One | res.currency | |
| currency_rate | Currency Rate | Float | - | _compute_currency_rate |
| date_order | Date | Datetime | - | |
| defer_invoice_pdf | Defer Invoice PDF Generation | Boolean | - | |
| Char | - | _compute_contact_details | ||
| fiscal_position_id | Fiscal Position | Many-to-One | account.fiscal.position | |
| floating_order_name | Order Name | Char | - | |
| general_customer_note | General Customer Note | Text | - | |
| has_deleted_line | Has Deleted Line | Boolean | - | |
| has_refundable_lines | Has Refundable Lines | Boolean | - | _compute_has_refundable_lines |
| internal_note | Internal Note | Text | - | |
| invoice_status | Invoice Status | Selection | - | _compute_is_invoiced |
| is_edited | Edited | Boolean | - | _compute_is_edited |
| is_globally_invoiced | Is Globally Invoiced | Boolean | - | _compute_is_invoiced |
| is_refund | Is Refund | Boolean | - | |
| is_singly_invoiced | Is Singly Invoiced | Boolean | - | _compute_is_invoiced |
| is_tipped | Is this already tipped? | Boolean | - | |
| is_total_cost_computed | Boolean | - | _compute_is_total_cost_computed | |
| lines | Order Lines | One-to-Many | pos.order.line | |
| margin | Margin | Monetary | - | _compute_margin |
| margin_percent | Margin (%) | Float | - | _compute_margin |
| mobile | Mobile | Char | - | _compute_contact_details |
| name | Order Ref | Char | - | |
| nb_print | Number of Print | Integer | - | |
| partner_id | Customer | Many-to-One | res.partner | |
| payment_ids | Payments | One-to-Many | pos.payment | |
| pos_reference | Receipt Number | Char | - | |
| prep_order_ids | Preparation orders | One-to-Many | pos.prep.order | |
| preset_id | Preset | Many-to-One | pos.preset | |
| preset_time | Hour | Datetime | - | |
| pricelist_id | Pricelist | Many-to-One | product.pricelist | |
| print_history | Print History | Json | - | |
| refund_orders_count | Number of Refund Orders | Integer | - | _compute_refund_related_fields |
| refunded_order_id | Many-to-One | pos.order | _compute_refund_related_fields | |
| reversed_move_ids | Reversal Journal Entries | One-to-Many | account.move | |
| sale_journal | Sales Journal | Many-to-One | account.journal | |
| sequence_number | Sequence Number | Integer | - | |
| session_id | Session | Many-to-One | pos.session | |
| source | Origin | Selection | - | |
| state | Selection | - | ||
| ticket_code | Char | - | ||
| tip_amount | Tip Amount | Monetary | - | |
| to_invoice | To invoice | Boolean | - | |
| tracking_number | Order Number | Char | - | |
| user_id | Employee | Many-to-One | res.users | |
| uuid | Uuid | Char | - |
