Plug-Ins Effect on Physical Inventory

Description

When Google Chrome plug-in is "on", the physical inventory stock on hand column automatically calculated to a single value (-1995), which was incorrect based on the scenario we had provided. When Google Chrome plug-in was turned "off", this automatic calculation did not occur.

Repro Steps:
Setting Up Google Translate Plug-In
1. Download Google Translator Plug-In on Chrome browser: https://chrome.google.com/webstore/detail/google-translate/aapbdbdomjkkjkaonfhkkikfgjllcleb
2. After the plug-in appears on the browser, click on the three vertical dots in the upper right hand corner of the Google Chrome browser
3. Scroll down to 'More Tools' and click on 'Extensions'
4. The Google Translate extension should appear on the next browser's tab. Click on 'Details' within the Google Translate box
5. Ensure the plug-in is set to 'On'

Setting Google Translate Primary Language to Portuguese
1. Click on the Google Translate Extension icon in your Google Chrome browser near the address bar
2. Within the pop-up, click on 'Extension Options'
3. On the new tab, set the 'My Primary Language' to Portuguese

Testing OpenLMIS with new Google Plug-In
1. Open OpenLMIS
2. Set the language to Portuguese
3. Click on 'Physical Inventory'
4. Stock on Hand Column typically was converting to -1995 on Angolan users' computers

Expected behavior

  • Stock on hand calculates as expected (and is not transformed by this plugin)

  • Google Translate translations are disabled for the whole OpenLMIS

  • Update configuration guide to mention Google Translate is not supported and won’t translate anything

- may also have a better understanding, as well, as she was the primary troubleshooter on this problem in Angola.

Environment

None

Status

Assignee

Unassigned

Reporter

Ryan Freeland

Labels

Story Points

5

Time tracking

24h

Epic Link

Components

Sprint

None

Priority

Trivial
Configure