Multi Currency Payment - POS View - Solved

Make currency exchange in accounts currency exchange

I made the currency exchange. But it will work only if i input the rate within 3 decimals.
Example : 1khr = 0.001usd (This is work fine)
But, In reality it need to be 1khr = 0.00025usd (this is not working)

We did try to keep it till 5 decimals. Let me check with my developer

Check Date and Number format in your System Settings

No will. Push an update in sometime.

Pushed the update for 5 decimal currency exchange.

Do git pull inside pos_bahrain folder and then

Do bench migrate to the site from. Frappe bench folder.
It should work fine now

1 Like

Thanks so much @fkardame. It’s working perfect.

You’re welcome!!!

Hello @fkardame

Unfortunately when I do as stated by you, it simply takes it as a cash refund.

It does not increase the customers balance as you stated, it simply treats it as a cash refund.

Can you test it ? Maybe am doing something wrong

Thanks

Hello,

When u make return sales invoice check in payment table there will be cash as default it usually pulls the full amount so if you’re not returning the cash then make cash as 0 and that should increase the debit

This is Exactly what I did, I wiped out the cash figure, changed it to zero and submitted.

It still made it a cash transaction on submisssion.

Would you mind trying it at your end?

Regards

Hello dear i just tried it and it shows me total unpaid as negative balance that means store credit.

Check image attached

Hello @fkardame

I seem to be having same issue as @olamide_shodunke.

When i clear out the cash figure and submit. the transaction still completes as a cash transaction. See screenshot below

We have not tested this with returns.

@fkardame

Am confused

In your reply to me you said you tested wit returns and cleared the payment field and this lead to a store credit for the customer. And you showed me a snapshot.

What do you now mean you have not tested with returns.

Am confused

I did test it on ur request and it was working fine. But we dont have any client using it as production, this is only for the return button in pos view.

Hello Sir,

Can I ask for your Help. How can I configure the the offline POS?

I already install the Multiple currency. But we have a error in offline POS. We are currently using the latest version of ERPNext version 12

Please see below :

Thank you.

Hello,
Our App is not Optimised for V12 as they have completely Updating the Item Master Tax Fields.
We did try V12 but we are facing many issue, so we plan to wait until it matures enough to make it production friendly.

Currently we’re not planning to upgrade it to V12. I request you to switch to Version-11

2 Likes

i did install toolz and i did use bench get-app pos_bahrain but it’s giving me an error saying
IndexError: list index out of range with bunch of other errors traces before.
any help on this issue ??
full error:

DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): api.github.com:443
DEBUG:urllib3.connectionpool:https://api.github.com:443 “GET /repos/frappe/pos_bahrain HTTP/1.1” 404 None
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): api.github.com:443
DEBUG:urllib3.connectionpool:https://api.github.com:443 “GET /repos/erpnext/pos_bahrain HTTP/1.1” 404 None
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 11, in
load_entry_point(‘bench’, ‘console_scripts’, ‘bench’)()
File “/home/frappe/.bench/bench/cli.py”, line 40, in cli
bench_command()
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 764, in call
return self.main(*args, **kwargs)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 717, in main
rv = self.invoke(ctx)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 555, in invoke
return callback(*args, **kwargs)
File “/home/frappe/.bench/bench/commands/make.py”, line 41, in get_app
get_app(git_url, branch=branch)
File “/home/frappe/.bench/bench/app.py”, line 116, in get_app
repo_name = git_url.rsplit(‘/’, 1)[1].rsplit(‘.’, 1)[0]
IndexError: list index out of range