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

BO - Retail price & price per unit (tax included) are converted when applying the tax #27230

Open
2 tasks done
Tracked by #9703
khouloudbelguith opened this issue Jan 5, 2022 · 0 comments
Open
2 tasks done
Tracked by #9703
Labels
1.7.7.8 Affects versions BO Category: Back Office Bug Type: Bug Minor Severity: minor bug > https://build.prestashop.com/news/severity-classification Needs Specs Status: issue needs to be specified Old Products Page Concerns the old product page Taxes and Prices Component: Which BO section is concerned Verified The issue has been reproduced

Comments

@khouloudbelguith
Copy link
Contributor

khouloudbelguith commented Jan 5, 2022

Prerequisites

Describe the bug and add screenshots

Previously reported here: #26762 (comment)
Retail price & price per unit (tax included) are converted when applying the tax

For more details please check the comment of @jolelievre
#26762 (comment)

Expected behavior

No response

Steps to reproduce

Enable Experimental product page
Go to BO > Catalog > Products page
Add product V2 > in the pricing tab > change Tax rule to 10%
set the Retail price (tax incl.)= 500 & Retail price per unit (tax incl.) =500
Click outside
See error => it will be converted to 500.000001


Enable Experimental product page
Go to BO > Catalog > Products page
Add product V2 > in the pricing tab > change Tax rule to 5.5%
set the Retail price (tax incl.)= 15 & Retail price per unit (tax incl.) =15
Click outside
See error => it will be converted to 14.999999

PrestaShop version(s) where the bug happened

1.7.7.8, develop

PHP version(s) where the bug happened

7.3

If your bug is related to a module, specify its name and its version

No response

@khouloudbelguith khouloudbelguith added Bug Type: Bug BO Category: Back Office Minor Severity: minor bug > https://build.prestashop.com/news/severity-classification Needs Specs Status: issue needs to be specified Old Products Page Concerns the old product page Taxes and Prices Component: Which BO section is concerned Verified The issue has been reproduced 8.0.x Branch labels Jan 5, 2022
@khouloudbelguith khouloudbelguith added 1.7.7.8 Affects versions and removed 8.0.x Branch labels Jan 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.7.7.8 Affects versions BO Category: Back Office Bug Type: Bug Minor Severity: minor bug > https://build.prestashop.com/news/severity-classification Needs Specs Status: issue needs to be specified Old Products Page Concerns the old product page Taxes and Prices Component: Which BO section is concerned Verified The issue has been reproduced
Projects
None yet
Development

No branches or pull requests

1 participant