Skip to content
Health
47/100
poor
  • Security25/25
    No findings
  • Activity12/25
    Last human commit 15 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 17.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.07 MB
Module directory on disk
Code analysis 0 migration notes 6 models 4 views 0 HTTP endpoints

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

Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

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.