TIP: You can type at any time to perform a new search.
PoS Order - Change Policy
pos_payment_method_change_policy · OCA/pos
- 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
Code Analysis ⓘ
Views touched (1)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
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_policySelectiondefault='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=Trueselection=[('cash', 'Cash'), ('profit_product', 'Exceptional Profit Product')] -
change_product_idMany2one → product.productcomodel_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)@api.constrains('change_policy', 'change_product_id')
New fields (0)
No new fields.
Public methods (0)No public methods.