Repository
OCA/pos · module folder · Try on Runboat
Module version
1.0.0
Category
Point Of Sale
Folder size
0.26 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/pos
Last tracking update
2026-08-07 08:09:20
Authors
Odoo Community Association (OCA), GRAP
Maintainers
Odoo Community Association (OCA), GRAP
Committers
Sylvain LE GAL, Weblate, oca-ci
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
None
Description

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
view_pos_payment_method_form pos.payment.method form Inherits point_of_sale.pos_payment_method_view_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (2)

New fields (2)
  • change_policy Selection
    default='cash' help="Method of managing the giving of change.\n * 'Cash': (Default). the cashier will give back money in cash method.\n * 'Exceptional Profit Product': an extra PoS Order Line will be added in the PoS Order of the surplus amount. This will be an exceptional gain for the seller, and a loss for the customer." required=True selection=[('cash', 'Cash'), ('profit_product', 'Exceptional Profit Product')]
  • change_product_id Many2one → product.product
    comodel_name='product.product' domain=[('type', '=', 'service'), ('available_in_pos', '=', True)] help='This product will be used if customer pays more that the amount of the receipt, to add an extra order line when confirming order.'
Public methods (1)
  • check_change_product_id(self)
    @api.constrains('change_policy', 'change_product_id')

New fields (0)

No new fields.

Public methods (0)

No public methods.