Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Autocomplete product/service search on inventiry lines MULTICURRENCY
#1
Hi,
We are using multicurrency function for our products, but ususally issuing Quotes/SO/Inv in fixed currency EUR.
Recently find out that depending on the method how we are selecting the products (via products popup OR via autocomplete search) differetnt prices are filled.
Popup selection fills the prices converted to the base currency (corect way), but autoseach fills fill Unconverted price (just the number, without the currency convertion).

With best regards
Marijus
Reply
#2
Hi Marijus,

How recent is your installation? I wrote the autocomplete and recently we found out the multicurrency was implemented incorrectly and we fixed it. So I'm guessing you haven't updated for a while?
Reply
#3
Hi, Installation is max 2 moths old. Last updae was 2020-08-29. Today I updated once more, no errors. but situation did not changed.
Please see attachment.
The same product was added. first via pop-up, second via autocomplete. Product has price in GBP.

With best regards
Marijus

resized


Attached Files Image(s)
       
Reply
#4
Can you do
Code:
var currency = document.getElementById('inventory_currency').value;
in the console, check the value it returns and add a
Code:
console.log(obj);
around line 1968 of include/js/Inventory.js and share both results?
Reply
#5
This should be working correctly now

https://github.com/tsolucio/corebos/pull/937

Thanks Luke
Joe
TSolucio
Reply
#6
Hi, I made the reccomended change on Inventory.js, but nothing changed. Autocamplete still returns price value in pounds, while popu select returns price converted to Euro (as expected).
Reply
#7
you probaby need to clear the cache
Joe
TSolucio
Reply
#8
Thanks now it works.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)