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

Enable the status selection for WorkEffort duplication

    XMLWordPrintableJSON

Details

    • Community Day 3 - 2016

    Description

      It is possible to duplicate workeffort in the WorkEffort component (https://localhost:8443/workeffort/control/EditWorkEffort?workEffortId=9000) but the duplicated WorkEffort keeps the same status than the original one. So when you duplicate a cancelled task, it is locked in the same state.

      We could adapt this service to allow the selection of the status for the new workeffort. Of course, you should be able to select only status that are relevant to the workeffort type.
      A first solution is to get the currentStatusId of the workeffort to duplicate. Then we can access to the linked statusTypeId. So we can retrieve all status relevant and order them by sequenceId (that way the default value is the first statuts of the sequence : created for the task).

      Attachments

        1. OFBIZ-7959.patch
          6 kB
          Montalbano Florian
        2. OFBIZ-7959.patch
          9 kB
          Montalbano Florian
        3. OFBIZ-7959.patch
          10 kB
          Montalbano Florian

        Activity

          People

            nmalin Nicolas Malin
            Florian M Montalbano Florian
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: