sahana / eden

Sahana Eden is an Open Source Humanitarian Platform which can be used to provide solutions for Disaster Management, Development, and Environmental Management sectors.. Please sign CLA when submitting pull requests: http://bit.ly/SSF-eCLA

Home Page:http://eden.sahanafoundation.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Newly added supplier doesn't appear on suppliers list

tomkeldor opened this issue · comments

System Tested:
https://covid19sahana.um.warszawa.pl

Version:
1.0.3-stable (2020-03-19 09:03:18)

Browser:
Chrome 81
Windows 10

Prerequisites:
User should be logged in to the system.

URL(s) where bug was encountered:

Steps:

  1. Click ‘Create Supplier’ and fill required form fields with "type" set to "Supplier".
  2. Click ‘Save’.
  3. Refresh page.

Expected Result:

Newly added supplier should appear in suppliers entry list.

Actual Result:

New supplier entry doesn't appear on the list, to see it there is need to go to organization module entry list.

This works fine when I test locally with the default template.
You shouldn't need to set the Type on the inv/supplier page as this is defaulted/hidden.
So you have 2 differences in your template?
I could guess that you don't have Supplier as an Organisation Type, but I have no login to your system to see.

It turned out that the organization type was manually translated by one of the users instead of being exported to a translation file and the filters stopped working because of that.