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

Implement dependency from "State/Province" Field to "Country" in New Employee Form

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Trunk, Release Branch 17.12
    • Fix Version/s: 17.12.01, Upcoming Branch
    • Component/s: humanres
    • Labels:
      None

      Description

      In OFBiz go to Facility -> Contact Information -> New Contact Information
      Select "Postal Address" in the dropdown and click "create". In this form the "State/Province" dropdown is dependant on the "Country" dropdown. Once a country is selected the States of that country will be in the selection of the first dropdown. This behaviour should be part of every form which has an address as an input. The dropdown dependencies are realized with the getDependentDropdownValues function in miscAjaxFunctions.js.

      A place where this functionality is missing is in the HR section of OFBiz. Got to HR -> Employees -> New Employee (https://localhost:8443/humanres/control/NewEmployee)
      Here, the "State" dropdown lists ALL states which are listed in the geo entity. It would be nice to implement dependant dropdowns here aswell.

        Attachments

          Activity

            People

            • Assignee:
              mbrohl Michael Brohl
              Reporter:
              bjugl Benjamin Jugl
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: