Pos Split Invoice
pos_order_split_invoice · OCA/pos
-
Security25/25No findings
-
Activity12/25Last human commit 15 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 17.0
Heuristic over the facts below, not an audit · How it's computed
Description
This module would allow use to split a pos.order in two moves.
The first one will be payed inside the PoS Order, and the second one will be payed after by this secondary partner.
This approach might appear in several cases, mainly on co-payments (Medical centers, Pharmacies...)
The pricelists created with split method shouldn't be used on Sale Orders, as they are only supported with pos orders made in the pos UI.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 4
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
account_move_form_view |
account.move | form | Inherits account.view_move_form | |
product_pricelist_form_view |
product.pricelist | form | Inherits product.product_pricelist_view | |
product_pricelist_item_form_view |
product.pricelist.item | form | Inherits product.product_pricelist_item_form_view | |
view_pos_pos_form |
pos.order | form | Inherits point_of_sale.view_pos_pos_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 6
-
splitting_order_idMany2one → pos.orderreadonly=True args: 'pos.order' -
splitting_partner_idMany2one → res.partnerreadonly=True args: 'res.partner'
No public methods.
-
splitting_move_idMany2one → account.movereadonly=True args: 'account.move' -
splitting_partner_idMany2one → res.partnerreadonly=True args: 'res.partner'
No public methods.
-
split_invoice_amountFloat
No public methods.
No new fields.
Public methods (0)No public methods.
-
split_invoice_partner_idMany2one → res.partnertracking=True args: 'res.partner'
No public methods.
-
compute_priceSelectionondelete={'split': 'set default'}selection_add=[('split', 'Split Invoice')] -
split_baseSelectiondefault='list_price'help='Base price for computation.\nSales Price: The base price will be the Sales Price.\nCost Price: The base price will be the cost price.\nOther Pricelist: Computation of the base price based on another Pricelist.'required=Trueselection=[('list_price', 'Sales Price'), ('standard_price', 'Cost'), ('pricelist', 'Other Pricelist')]string='Split amount Based on' -
split_base_pricelist_idMany2one → product.pricelistcheck_company=True args: 'product.pricelist', 'Other Pricelist' -
split_invoice_partner_idMany2one → res.partnerreadonly=Truerelated='pricelist_id.split_invoice_partner_id' args: 'res.partner' -
split_percentageFloathelp='Percentage payed by the splitting partner'
No public methods.