Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Trunk
    • Fix Version/s: 16.11.01
    • Component/s: order
    • Labels:
      None

      Description

      I found the behavior of product base promotion calculation a bit strange. Any further insights into the issue would be very helpful.

      The promotion which I used was to give 30% discount for the item (i.e. RAM1GB_BRAND). I created a sales order with 10 quantity of the product. During the promotion calculation, OFBiz created 10 OrderAdjustments, one for each quantity for the same promotion type.

      I was expecting that in the case if same Promotion is applicable for more than one quantity of a product then a single OrderAdjustment should be created instead of creating one for each quantity. It is also messing up the UI.

      1. OFBIZ-7359_trunk.patch
        2 kB
        Arvind Singh Tomar
      2. OFBIZ-7359_trunk.patch
        2 kB
        Arvind Singh Tomar
      3. Promotion1.png
        129 kB
        Arvind Singh Tomar
      4. Promotion2.png
        45 kB
        Arvind Singh Tomar

        Activity

        Hide
        arvind.singh Arvind Singh Tomar added a comment -

        Resolved the merge conflicts and updated the patch. Tested the functionality and run unit tests and found out it be working fine.

        Show
        arvind.singh Arvind Singh Tomar added a comment - Resolved the merge conflicts and updated the patch. Tested the functionality and run unit tests and found out it be working fine.
        Hide
        mridul.pathak Mridul Pathak added a comment -

        Thanks Arvind Singh Tomar for contribution. Your patch is in trunk r1765034.

        Show
        mridul.pathak Mridul Pathak added a comment - Thanks Arvind Singh Tomar for contribution. Your patch is in trunk r1765034.

          People

          • Assignee:
            mridul.pathak Mridul Pathak
            Reporter:
            arvind.singh Arvind Singh Tomar
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development