Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-9145

Greater precise value overriding price in order

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Implemented
    • Trunk
    • 17.12.01
    • order
    • None
    • OSX

    • Patch

    Description

      I encounter a problem when try to re-enter orders originally created in another system (not ofbiz). And I found some cases when it's not possible to reproduce it exactly due to some promo rules triggered in this another system. But I must. Difference .01 is important.

      Solution would be if I can change the unit price in an existing order using value with 3 digits after decimal point. I found that if I add new order item and check "Override" price I am able to enter more precise values, but if I update unit price in an existing order item I am not. updateOrderItems rounds it to 2 digits. Exactly the same intention but works differently.

      This makes me think we can remove rounding in second case. I believe if user want to change the unit price he knows why.

      Attachments

        1. ovr_price_precisely.diff
          0.8 kB
          Oleg Andreyev

        Activity

          People

            jleroux Jacques Le Roux
            redcat Oleg Andreyev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: