odoo/odoo#81302
Created by POS IoT, Robin Heinz (rhe)
Merged
at 76ccaaf055d229044734fbb50473f7ca78393970
- label
- odoo-dev:13.0-pos-cash-rounding-pay-less-rounding-rhe
- head
- 48a8ce0a77a390287d81b31f7b3fba706ad2dacf
- target
- 13.0
- merged
- 2 years ago by Pierre Masereel (pim)
- forward-ports
- odoo/odoo#81392 targeting master
- odoo/odoo#81377 targeting saas-15.1
- odoo/odoo#81365 targeting 15.0
- odoo/odoo#81330 targeting 14.0
[FIX] pos_cash_rounding: Fix value under rounding
It should be allowed to pay amount that are not rounded if the value is less than the rounding value.
Ex:
Rounding value: 0.05
Amount to pay: 0.04
The amount to pay should remain 0.04 and not be rounded to 0.05.
This fix allows the user to pay for values under the rounding value without applying the rounding.
--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr