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

Extend OrderAdjustment entity and add isManual field

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 14.12.01, 15.12.01, 13.07.04
    • Component/s: None
    • Labels:
      None

      Description

      Extend OrderAdjustment entity and add isManual field to recognize manually added order adjustment.

      As per current implementation code using orderAdjustment.comments field to recognize manually added comment using string "Added manually by"

                              if ( adjustment.get("comments") != null
                                      && ((String)adjustment.get("comments")).startsWith("Added manually by")) {
                                  cart.addAdjustment(adjustment);
                              }
      

        Attachments

        1. OFBIZ-7078.patch
          5 kB
          Rohit Koushal

          Activity

            People

            • Assignee:
              deepak Deepak Dixit
              Reporter:
              deepak Deepak Dixit
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: