
Since odoo/documentation#903, the guideline for the location of new resource (images, downloadable files, RST includes...) files is to place those inside the directory of the RST page that references them. For example, if `doc1.rst` has a reference to `image.png` and to `download.zip`, the file structure should look like this: ├── parent_doc/ │ └── doc1/ │ │ └── image.png │ │ └── download.zip │ └── doc1.rst │ └── doc2.rst ├── parent_doc.rst Before this commit, most of the resource files were still located inside 'media' directories holding all the resource files referenced by RST pages located at the same level as these directories. In the example above, a single 'media' directory would hold all the resource files referenced by both `doc1.rst` and `doc2.rst`. Doing so prevented us from figuring out easily which resource file was referenced by which RST page and, thus, lead to unused resource files piling up in the repository. It also made it more complicated to define codeowners regex rules because a team could not simply be assigned to `/some_page.*` but needed to be assigned to both `/some_page\.rst` and to the location of 'media'. In order to help new content writers figure out the guideline when taking examples from other RST pages, this commit retroactively applies the guideline to existing resource files and 'media' directories. The left-over resource files that are not referenced by any RST page are removed. task-2497965 Part-of: odoo/documentation#2068
113 lines
3.5 KiB
ReStructuredText
113 lines
3.5 KiB
ReStructuredText
=================================
|
|
Record exchange rates at payments
|
|
=================================
|
|
|
|
Overview
|
|
========
|
|
|
|
Any company doing international trade faces the case where the payments
|
|
are in a different currency.
|
|
|
|
After receiving their payments, you have the option to convert the
|
|
amount into your company currency. Multi currency payment implies rates
|
|
fluctuations. The rate differences are automatically recorded by Odoo.
|
|
|
|
Configuration
|
|
=============
|
|
|
|
Enable multi-currencies
|
|
-----------------------
|
|
|
|
In the accounting module, Go to :menuselection:`Configuration --> Settings`
|
|
and flag **Allow multi currencies**, then click on **apply**.
|
|
|
|
.. image:: exchange/exchange_rate03.png
|
|
:align: center
|
|
|
|
Configure the currency rates in :menuselection:`Configuration --> Currencies`.
|
|
Write down the rate and make sure the currency is active.
|
|
|
|
.. image:: exchange/exchange_rate02.png
|
|
:align: center
|
|
|
|
In this document, the base currency is **Euro** and we will record payments
|
|
in **Dollars**.
|
|
|
|
.. image:: exchange/exchange_rate08.png
|
|
:align: center
|
|
|
|
.. tip::
|
|
You can automatically fetch the currency rates from the **European
|
|
Central Bank** or from **Yahoo**. Please read the document :
|
|
:doc:`how_it_works`.
|
|
|
|
Configure your journal
|
|
----------------------
|
|
|
|
In order to register payments in other currencies, you have to **remove
|
|
the currency constraint** on the journal. Go to the accounting
|
|
application, Click on **More** on the journal and **Settings**.
|
|
|
|
.. image:: exchange/exchange_rate06.png
|
|
:align: center
|
|
|
|
Check if the **Currency** field is empty or in the foreign currency in which
|
|
you will register the payments. If a currency is filled in, it means
|
|
that you can register payments only in this currency.
|
|
|
|
.. image:: exchange/exchange_rate10.png
|
|
:align: center
|
|
|
|
Record a payment in a different currency
|
|
========================================
|
|
|
|
In the **Accounting** application, go to :menuselection:`Sales --> Payments`.
|
|
Register the payment and indicate that it was done in the foreign currency. Then
|
|
click on **confirm**.
|
|
|
|
.. image:: exchange/exchange_rate05.png
|
|
:align: center
|
|
|
|
The journal entry has been posted but not allocated.
|
|
|
|
Go back to your invoice (:menuselection:`Sales --> Customer Invoices`) and click on
|
|
**Add** to allocate the payment.
|
|
|
|
.. image:: exchange/exchange_rate04.png
|
|
:align: center
|
|
|
|
Record a bank statement in a different currency
|
|
===============================================
|
|
|
|
Create or import the bank statement of your payment. The **Amount** is in
|
|
the company currency. There are two complementary fields, the **Amount currency**,
|
|
which is the amount that was actually paid and the **Currency** in which it was paid.
|
|
|
|
.. image:: exchange/exchange_rate07.png
|
|
:align: center
|
|
|
|
When reconciling it, Odoo will directly match the payment with the right
|
|
**Invoice**. You will get the invoice price in the invoice currency and the
|
|
amount in your company currency.
|
|
|
|
.. image:: exchange/exchange_rate09.png
|
|
:align: center
|
|
|
|
Check the exchange rate differences
|
|
===================================
|
|
|
|
Go to :menuselection:`Adviser --> Journal Entries` and look for the **Exchange difference**
|
|
journal entries. All the exchange rates differences are recorded in it.
|
|
|
|
.. image:: exchange/exchange_rate01.png
|
|
:align: center
|
|
|
|
.. tip::
|
|
The Exchange difference journal can be changed in your accounting settings.
|
|
|
|
.. include:: exchange/full_reconcile_warning.rst
|
|
|
|
.. seealso::
|
|
* :doc:`../../bank/reconciliation/reconciliation_models`
|
|
* :doc:`../../bank/reconciliation/use_cases`
|