Community mailing list archives

community@mail.odoo.com

Re: POS multi-currency support.

by
Kai Zhu
- 06/04/2016 04:34:53
Hi Mohsin,

Thank you for the clarifying.

As far as I know there’re something achieved similar function:


the current problem confusing me is:

If I set the currency of any payment method of POS to specific one like ‘HKD’ instead of keep it empty,
(Point of Sale -> Configuration -> Payment Methods -> Journal Entries -> Currency)

the warning will show and I cannot close the session (with few pos orders), even the company’s currency set to the same e.g. ‘HKD’.

I cannot understand this behaviour.

I’ve test this by newest Odoo and fresh database in VM.

On Jun 4, 2016, at 14:24, Mohsin khan <mohsink129@gmail.com> wrote:

Hi Kai Zhu,

Odoo doesn't support multi-currency by default for POS. No options to pay in multiple currencies at the time of payment. 

If you know little about js you can convert  the amount into different currencies by loading currencies and their conversion rates. You will get equivalent amount in foreign currencies. But payment will happen in the base currency, there will be the problem with cash count if you are managing cash in the cashbox.

Through journals, I don't think we can achieve the multi-currency functionality. Product prices in POS will always be shown in the currency which will be assigned to POS config's pricelist. 

Let me know if you want to achieve this through js, I will help you. I have developed such functionality.


---------- Forwarded message ----------
From: Kai Zhu <parahexen@gmail.com>
Date: Fri, Jun 3, 2016 at 5:02 PM
Subject: Re: POS multi-currency support.
To: Community <community@mail.odoo.com>


Thank you Eric,

When I set the currency for specific journal e.g. “Cash”, the account “Cash” was automatically set its currency to that one.

Here which confusing me is the “multi-currency view”, what’s that exactly?

K


On Jun 3, 2016, at 12:22, Eric Caudal <eric.caudal@elico-corp.com> wrote:

Multi currency is usually handled at pricelist level for the price display . Currency at journal level will only be for the payment.
For the journal error: you need to have the same currency in the journal and in the account linked to the journal

--
Eric Caudal [Founder and CEO]
Skype: elico.corp. Phone: + 86 186 2136 1670 (Cell), + 86 21 6211 8017/27/37 (Office)
Elico Shanghai (Hong Kong/Shenzhen/Singapore) Odoo Gold Partner, best Odoo Partner 2014 for APAC
On 06/03/2016 10:17 AM, Kai Zhu wrote:
Hi community,

I’m trying to get pos work with multi-currency.

Here I found some problem:

If I set the currency for Payment Method (the Journal) which will automatically set the same currency for account, then account_move.py:AccountMoveLine._check_currency will check to see if line’s currency is equal to line’s account currency.
But, account_move.py:AccountMoveLine._get_currency will fail to get currency due to absence of ‘default_journal_id’ in context, here I guess the pos is not ready to support multi-currency, is that right?

ERROR: 'The selected account of your Journal Entry forces to provide a secondary currency. You should remove the secondary currency on the account or select a multi-currency view on the journal.’

When trying to get rid of this error, the only work way here is to remove the secondary(manually specified?) currency on the account,
I’m not fully understanding the later one - “select a milt-currency view one the journal”.


Expecting more explain.

Thanks all.

by K

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe




--
Mohsin Khan
Senior Odoo Developer
Mob : +918976334509
SkypeId : mohsink129