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

EditInventoryItem.bsh has HtmlFormWrapper rendering code. This be replaced with screens.render in ftl.

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: product
    • Labels:
      None

      Description

      EditInventory.bsh file uses HtmlFormWrapper for rendering /inventory/InventoryForms.xml#CreatePhysicalInventoryAndVariance, ViewPhysicalInventoryAndVariance forms. Path to the forms file is relative to facility webapp. This causes limitation in using the EditInventory screen from other components.

      The code for rendering should be moved to EditInventory.ftl file and should use screens.render.

        Attachments

        1. EditInventoryItemRefactored.patch
          3 kB
          Anil K Patel
        2. EditInventoryItemRefactored.patch
          5 kB
          Anil K Patel
        3. EditInventoryItemRefactored.patch
          4 kB
          Anil K Patel

          Activity

            People

            • Assignee:
              jacopoc Jacopo Cappellato
              Reporter:
              anilpatel Anil K Patel
            • Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: