Uploaded image for project: 'Prestashop 1.6'
  1. Prestashop 1.6
  2. PSCSX-7630

Bad rounded price into order details

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.6.1.1, 1.6.1.4
    • Fix Version/s: None
    • Component/s: None
    • Security Level: All-users

      Description

      Hi,

      Onto Prestashop 1.6.1.4, add a product into back-office with price ex.tax 20.825 €.
      Add french tax + 20%
      You'll see a price incl. tax set to 24.99€.

      Now, order this product.
      Go onto database, on order_details, and check total_price_tax_excl column.
      You'll see 20.830000. It's false, it must be 20.825000.

      It's a problem when you'll try to get data from webservice, rounded prices are different: 20.830000 * 1.2 != 24.990000.
      total_price_tax_incl is right (24.990000).

      Best regards,
      Do a request to webservice

        Attachments

        1. arrondi.png
          arrondi.png
          27 kB
        2. base.png
          base.png
          13 kB
        3. Capture.PNG
          Capture.PNG
          3 kB
        4. Capture2.PNG
          Capture2.PNG
          14 kB

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              maxime Maxime
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: