BO - Retail price & price per unit (tax included) are converted when applying the tax #27230
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
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
The text was updated successfully, but these errors were encountered: