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

Extend OrderAdjustment entity and add isManual field

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 14.12.01, 15.12.01, 13.07.04
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: