Repository
OCA/pos · module folder · Try on Runboat
Module version
1.0.0
Category
Uncategorized
Folder size
0.07 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/pos
Last tracking update
2026-08-07 08:23:00
Authors
Odoo Community Association (OCA), Dixmit, INVITU
Maintainers
Odoo Community Association (OCA), Dixmit, INVITU
Committers
Enric Tobella, Weblate, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
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.

Code Analysis

Views touched (4)
XML IDNameModelTypeStatus
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)

New fields (2)
  • splitting_order_id Many2one → pos.order
    readonly=True args: 'pos.order'
  • splitting_partner_id Many2one → res.partner
    readonly=True args: 'res.partner'
Public methods (0)

No public methods.

New fields (2)
  • splitting_move_id Many2one → account.move
    readonly=True args: 'account.move'
  • splitting_partner_id Many2one → res.partner
    readonly=True args: 'res.partner'
Public methods (0)

No public methods.

New fields (1)
  • split_invoice_amount Float
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • split_invoice_partner_id Many2one → res.partner
    tracking=True args: 'res.partner'
Public methods (0)

No public methods.

New fields (5)
  • compute_price Selection
    ondelete={'split': 'set default'} selection_add=[('split', 'Split Invoice')]
  • split_base Selection
    default='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=True selection=[('list_price', 'Sales Price'), ('standard_price', 'Cost'), ('pricelist', 'Other Pricelist')] string='Split amount Based on'
  • split_base_pricelist_id Many2one → product.pricelist
    check_company=True args: 'product.pricelist', 'Other Pricelist'
  • split_invoice_partner_id Many2one → res.partner
    readonly=True related='pricelist_id.split_invoice_partner_id' args: 'res.partner'
  • split_percentage Float
    help='Percentage payed by the splitting partner'
Public methods (0)

No public methods.