Odoo Help

Welcome!

This community 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.

0

Accounts set to base currency as 'foreign currency'

By
Tim Bowen
on 5/3/16, 2:30 PM 284 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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

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