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
Compute Method: _compute_is_invoiced
| Inputs | Method | Outputs |
|---|---|---|
|
+ for order in self: + order_move = order.account_move + session_moves = order.session_id.move_ids + order.is_singly_invoiced = order_move and order_move not in session_moves + order.is_globally_invoiced = order_move and order_move in session_moves + order.invoice_status = 'invoiced' if order.is_singly_invoiced else 'to_invoice' |
|
