Description
Describe the bug
In the BO > Shop Parameters > General page > Round type = "Round on each item".
When creating an order from the BO > The product's total line is NOK.
Steps to Reproduce
Steps to reproduce the behavior:
- In Shop Parameters > Custom Settings > Groups > Edit Customer "Price display method" => tax included
- Create a productA with 21% tax, €7.8 tax excluded
- Go to BO > Order page > Add new order
- Add the product with quantity =80
- Create the order
- see the error: the Total Tax included for the Product detail line is NOK
PS: reproduced when shipping is free or not.
when Round on each line
or Round on the total
is applied => ok (no issue)
Additional information
- PrestaShop version: 177x
- PHP version: 7.2
Specs
Round on each item = product unit price rounded
Round on each line = total of the line rounded
https://github.com/PrestaShop/prestashop-specs/blob/master/broader-topics/price-calculation-rules.md
Metadata
Metadata
Assignees
Labels
BranchCategory: Back OfficeType: BugResolution: issue closed because fixedSeverity: minor bug > https://build.prestashop.com/news/severity-classificationKanban prioritization: issue could be included in next versionComponent: Which BO section is concernedSolution: issue is being addressedType: regressionComponent: Which BO section is concernedsymfony migration project
Activity
prestashop-issue-bot commentedon Nov 2, 2020
Thanks for opening this issue! We will help you to keep its state consistent
icemansparks commentedon Nov 15, 2020
Rounding on each line is the only working option when using the PayPal module. If another option is selected, carts with multiple items will lead to errors on the order process.
Keeping this in mind I would hope for a fix since using PayPal as payment option is probably rarely to be considered an „edge case“.
Gipielle commentedon Nov 16, 2020
I am touched that you have noticed this error, it has been present since prestashop 1.4 if I remember correctly.
marionf commentedon Nov 16, 2020
To be specified:
Round on each item = product unit price rounded
Round on each line = total of the line rounded
23 remaining items