| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/pos |
| GIT | |
| GIT | https://github.com/OCA/pos.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/pos/tree/16.0/pos_payment_method_change_policy |
| VERSION | |
| VERSION | 1.0.0 |
| CATEGORY | |
| CATEGORY | Point Of Sale |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), GRAP |
| MAINTAINERS | |
| MAINTAINERS | Odoo Community Association (OCA), GRAP |
| COMMITTERS | |
| COMMITTERS | Sylvain LE GAL, Weblate, oca-ci |
| WEBSITE | |
| WEBSITE | https://github.com/OCA/pos |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:53:40 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - point_of_sale - stock_account - stock - product - base - base_setup - web - bus - web_tour - uom - barcodes_gs1_nomenclature - barcodes - digest - portal - web_editor - http_routing - auth_signup - resource - account - analytic |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | |
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_pos_payment_method_form |
pos.payment.method | field | Inherits point_of_sale.pos_payment_method_view_form |
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.'
check_change_product_id(self)
No new fields.
Public methods (0)No public methods.