Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] pos_cash_rounding: Fix value under rounding #81302

Conversation

rhe-odoo
Copy link
Contributor

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

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.
@robodoo
Copy link
Contributor

robodoo commented Dec 13, 2021

@C3POdoo C3POdoo added the RD research & development, internal work label Dec 13, 2021
@pimodoo
Copy link
Collaborator

pimodoo commented Dec 13, 2021

@robodoo r+ rebase-ff

@robodoo
Copy link
Contributor

robodoo commented Dec 13, 2021

Merge method set to rebase and fast-forward

robodoo pushed a commit that referenced this pull request Dec 13, 2021
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.

closes #81302

Signed-off-by: Masereel Pierre <pim@odoo.com>
@robodoo robodoo closed this Dec 13, 2021
@robodoo robodoo temporarily deployed to merge December 13, 2021 15:02 Inactive
@fw-bot fw-bot deleted the 13.0-pos-cash-rounding-pay-less-rounding-rhe branch December 27, 2021 15:47
gamarino pushed a commit to numaes/numa-public-odoo that referenced this pull request Jan 11, 2023
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.

closes odoo/odoo#81302

Signed-off-by: Masereel Pierre <pim@odoo.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RD research & development, internal work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants