-
Notifications
You must be signed in to change notification settings - Fork 5k
Labels
1.7.7.xBranchBranchAutoupgradeModule: autoupgradeModule: autoupgradeBOCategory: Back OfficeCategory: Back OfficeBugType: BugType: BugCLDRCriticalSeverity: critical bug > https://build.prestashop.com/news/severity-classificationSeverity: critical bug > https://build.prestashop.com/news/severity-classificationCurrenciesLabel: Which BO under menu is concernedLabel: Which BO under menu is concernedFOCategory: Front OfficeCategory: Front OfficeFixedResolution: issue closed because fixedResolution: issue closed because fixedMust-haveKanban prioritization: issue must be included in next versionKanban prioritization: issue must be included in next versionPR availableSolution: issue is being addressedSolution: issue is being addressedRegressionType: regressionType: regression
Milestone
Description
Describe the bug
When making an upgrade from 1.7.5.x and previous version to 1.7.7.0 build stable, the precision of each currency installed is set to 6, leading to unwanted display on FO, and invoices.
Expected behavior
After upgrade, the precision of the currency should be the one set by default (2 decimals for example for Euro) instead of 6.
Steps to Reproduce
Steps to reproduce the behavior:
- Install 1.7.5.x version with Euro installed and autoupgrade module
- Make an upgrade to 1.7.7.0 stable build
- Go to International > Localization > Currencies and open Euro parameters : Decimals is set to 6 instead of 2
- Go to FO > Clothes : Demo Product prices are displayed on 3 digits
- Make an order with these products, confirm the order and generate invoice in BO : Invoices has 3 digits.
Screenshots
Currency Euro in BO : decimals set to 6 after upgrade :
Display on FO with 3 digits (with demo product) :
Invoice with 3 digits in Euro :
Additional information
- PrestaShop version: 1770 stable build 5
- PHP version: N/A
Metadata
Metadata
Assignees
Labels
1.7.7.xBranchBranchAutoupgradeModule: autoupgradeModule: autoupgradeBOCategory: Back OfficeCategory: Back OfficeBugType: BugType: BugCLDRCriticalSeverity: critical bug > https://build.prestashop.com/news/severity-classificationSeverity: critical bug > https://build.prestashop.com/news/severity-classificationCurrenciesLabel: Which BO under menu is concernedLabel: Which BO under menu is concernedFOCategory: Front OfficeCategory: Front OfficeFixedResolution: issue closed because fixedResolution: issue closed because fixedMust-haveKanban prioritization: issue must be included in next versionKanban prioritization: issue must be included in next versionPR availableSolution: issue is being addressedSolution: issue is being addressedRegressionType: regressionType: regression
Activity
Progi1984 commentedon Dec 2, 2020
Fixed by #22178