OFBiz
  1. OFBiz
  2. OFBIZ-710

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

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major 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.

      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

        Anil K Patel created issue -
        Anil K Patel made changes -
        Field Original Value New Value
        Attachment EditInventoryItemRefactored.patch [ 12350815 ]
        Anil K Patel made changes -
        Attachment EditInventoryItemRefactored.patch [ 12350816 ]
        Anil K Patel made changes -
        Attachment EditInventoryItemRefactored.patch [ 12350818 ]
        Jacopo Cappellato made changes -
        Assignee Jacopo Cappellato [ jacopoc ]
        Jacopo Cappellato made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Closed [ 6 ]
        Gavin made changes -
        Workflow jira [ 12397113 ] OFbiz Workflow [ 12503868 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development