Files
documentation/content/applications/finance/accounting/bank/setup/foreign_currency.rst
T
Antoine Vandevenne (anv) e3fee2cf46 [REF][MOV] documentation apocalypse
Prior to this commit, the Odoo documentation was mainly split between
two repositories: odoo/odoo/doc and odoo/documentation-user. Some bits
of documentation were also hosted elsewhere (e.g., wiki, upgrade, ...).
This was causing several problems among which:
  - The theme, config, Makefile, and similar technical resources had to
    be duplicated. This resulted in inconsistent layout, features, and
    build environments from one documentation to another.
  - Some pages did not fit either documentation as they were relevant
    for both users and developers. Some were relevant to neither of the
    two (e.g., DB management).
  - Cross-doc references had to be absolute links and they broke often.
  - Merging large image files in the developer documentation would bloat
    the odoo/odoo repository. Some contributions had to be lightened to
    avoid merging too many images (e.g., Odoo development tutorials).
  - Long-time contributors to the user documentation were chilly about
    going through the merging process of the developer documentation
    because of the runbot, mergebot, `odoo-dev` repository, etc.
  - Some contributors would look for the developer documentation in the
    `odoo/documentation-user` repository.
  - Community issues about the user documentation were submitted on the
    `odoo/odoo` repository and vice-versa.

Merging all documentations in one repository will allow us to have one
place, one theme, one work process, and one set of tools (build
environment, ...) for all of the Odoo docs.

As this is a good opportunity to revamp the layout of the documentation,
a brand new theme replaces the old one. It features a new way to
navigate the documentation, centered on the idea of always letting the
reader know what is the context (enclosing section, child pages, page
structure ...) of the page they are reading. The previous theme would
quickly confuse readers as they navigated the documentation and followed
cross-application links.

The chance is also taken to get rid of all the technical dangling parts,
performance issues, and left-overs. Except for some page-specific JS
scripts, the Odoo theme Sphinx extension is re-written from scratch
based on the latest Sphinx release to benefit from the improvements and
ease future contributions.

task-2351938
task-2352371
task-2205684
task-2352544

Closes #945
2021-05-04 15:44:00 +02:00

118 lines
4.1 KiB
ReStructuredText

===========================================
How to manage a bank in a foreign currency?
===========================================
In Odoo, every transaction is recorded in the default currency of the
company. Reports are all based on the currency of the company. But for
transactions occurring in another currency, Odoo stores both the value
in the currency of the company and the value in the currency of the
transaction.
When you have a bank account in a foreign currencies, for every
transaction, Odoo stores two values:
- The debit/credit in the currency of the company
- The debit/credit in the currency of the bank account
Currency rates are updated automatically using yahoo.com, or the
European Central bank web-services.
Configuration
=============
Activate the multi-currency feature
-----------------------------------
In order to allow your company to work with multiple currencies, you
should activate the multi-currency mode. In the accounting application,
go into :menuselection:`Configuration --> Settings --> Accounting & Finance Features`
make sure the **Allow Multi-currencies** box is ticked. Provide
a **Currency Exchange Gain / Loss** account, then click on **Apply**.
Configure currencies
--------------------
Once the Odoo is configured to support multiple currencies, you should
activate the currencies you plan to work with. To do that, go to the menu
:menuselection:`Configuration --> Currencies`. All the currencies are created by default,
but you should activate the ones you plan to support (to activate a
currency, check its "Active" field).
After having activated the currencies, you can configure the parameters
to automate the currency rate update. These options are also in the
settings of the Accounting application, in the bottom of the page:
.. image:: media/foreign01.png
:align: center
Click on the **Update Now** link to update the currency rates now.
Create a new bank account
-------------------------
In the accounting application, we first go to :menuselection:`Configuration -->
Accounting / Bank account`, and we create a new one.
.. image:: media/foreign02.png
:align: center
Once you save this bank account, Odoo will create all the documents for
you:
- An account in the trial balance
- A journal in your dashboard
- Information about the bank account in the footer of your invoices if
checked the box **Show in Invoices Footer**
Example: A vendor bill in a foreign currency
============================================
Based on the above example, let's assume we receive the following bill
from a supplier in China.
In the :menuselection:`Purchase --> Vendor Bills` , this is what you could see:
.. image:: media/foreign03.png
:align: center
Once you are ready to pay this bill, click on register payment on the
bill to record a payment.
.. image:: media/foreign04.png
:align: center
That's all you have to do. Odoo will automatically post the foreign
exchange gain or loss at the reconciliation of the payment with the
invoice, depending if the currency rate increased or decreased between
the invoice and the payment date.
Note that you can pay a foreign bill with another currency. In such a
case, Odoo will automatically convert between the two currencies.
Customers Statements
====================
Customers and vendor statements are managed in the currency of the
invoice. So, the amount due by your customer (to your vendor) is always
expressed in the currency of the invoice.
If you have several invoices with different currencies for the same
customer, Odoo will split the customer statement by currency, as shown
in the report below.
.. image:: media/foreign05.png
:align: center
In the above report, the account receivable associated to Camptocamp is
not managed in a secondary currency, which means that it keeps every
transaction in its own currency. If you prefer, you can set the account
receivable for this customer in a secondary currency and all its debts
will automatically be converted to this currency.
In such a case, the customer statement always has only one currency. In
general, this is not what the customer expect as he prefers to see the
amounts in the currency of the invoices he received;