Odoo Help

0

Accounts set to base currency as 'foreign currency'

By
Tim Bowen
on 5/3/16, 2:30 PM 511 views

I want to restrict some accounts to allow transactions only in my base currency (accounts representing bank and cash accounts). But I get the following validation error when raising a customer invoice, implying that the system sees my account as an incorrectly formed foreign currency account rather than just a binding to the base currency.

Error while validating constraint. The selected account of your Journal Entry forces to provide a secondary currency. You should remove the secondary currency on the account.

How can I restrict postings (to base currency)  to a particular account without breaching the constraint?

0
Kinner Vachhani
On 5/5/16, 5:13 AM

Hey Tim,

I don't know if there is any module to do this but you can definitely achieve it using record rules on account_move_line create. Give it a try and see if it works.


Regards,

Kinner

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 5/3/16, 2:30 PM
Seen: 511 times
Last updated: 5/5/16, 5:13 AM