Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Products on inventory, not showing #5

Open
chemscobra opened this issue Apr 12, 2018 · 2 comments
Open

Products on inventory, not showing #5

chemscobra opened this issue Apr 12, 2018 · 2 comments

Comments

@chemscobra
Copy link

When you start to add products on the inventory panel, the products already added doesnt show up on list
image

@philchamp
Copy link

philchamp commented Jul 13, 2018

After many hours of debugging, I finally found out what the issue was. For me, Chromis was trying to determine if the CentralGuid was the same as the current SiteGuid. The result to this was false which would not show the Location Combo Box beside the Barcode textfield. In that case, the code in ProductFilterWithSite.java specifically says to select the first item in the list which would be the current site.

 if (!dlSync.isCentral()) {
     m_LocationsModel.setSelectedFirst();
 }

But then, the site is selected but not refreshed as it should be for whatever reason (I'm still working on that). So the workaround I found for now is to set the value of jSites.isVisible(dlSync.isCentral) to jSites.isVisible(true) in ProductFilterWithSite.java like this :

public ProductFilterWithSite(Boolean isCentral) {
    initComponents();
    jSites.setVisible(true); // Workaround to always see the sites panel
    //jSites.setVisible(isCentral);
}

And then, when you go to Stock -> Products, you should see the By Store Details in the upper left corner of the window. When you select your site again from the drop down menu, your products should now appear!

@philchamp
Copy link

As someone on SourceForge pointed out, you just need to manually refresh the table by clicking on the refresh button (curved arrow) in order to show the products.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants