[MOV] content/*: move resource files into their related page's directory

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#2066
This commit is contained in:
Antoine Vandevenne (anv)
2022-05-20 09:59:25 +00:00
parent 9fbbbc9fcf
commit 250bc3ab21
2050 changed files with 1771 additions and 1770 deletions
@@ -29,7 +29,7 @@ Odoo supports multiple file formats to import bank statements:
To import them, go to :menuselection:`Accounting --> Overview --> Bank`, click on *Import
Statements*, or on the three dots, and then on *Import Statement*.
.. image:: media/bank-statements-01.png
.. image:: bank_statements/bank-statements-01.png
:align: center
:alt: Import a bank statement file in Odoo Accounting
@@ -38,7 +38,7 @@ Next, select the file you want to import and click on *Import*.
Odoo opens an **import widget** to help you set the **Formatting Options** and **map** the
different columns you want to import.
.. image:: media/bank-statements-02.png
.. image:: bank_statements/bank-statements-02.png
:align: center
:alt: Register bank statements manually in Odoo Accounting
@@ -59,7 +59,7 @@ Add a new line for each transaction written on the original bank statement.
To ease the reconciliation process, make sure to fill out the *Partner* field. You can also write
the payments references in the *Label* field.
.. image:: media/bank-statements-03.png
.. image:: bank_statements/bank-statements-03.png
:align: center
:alt: Register bank statements manually in Odoo Accounting
@@ -8,7 +8,7 @@ automatically into your database.
To check if your bank is compatible with Odoo, go to `Odoo Accounting Features
<https://www.odoo.com/page/accounting-features>`_, and click on *See list of supported institutions*.
.. image:: media/online-sync-doc.png
.. image:: bank_synchronization/online-sync-doc.png
:align: center
:alt: Checking a bank's compatibility with Odoo
@@ -68,14 +68,14 @@ After your first synchronization, the created journals are synchronized by defau
If you wish, you can synchronize manually by clicking on the *Synchronize Now* button on the
dashboard.
.. image:: media/online-sync-sync-now-dashboard.png
.. image:: bank_synchronization/online-sync-sync-now-dashboard.png
:align: center
:alt: Synchronize Now Button
Or you can go to :menuselection:`Accounting --> Configuration --> Online Synchronization`,
select your institution and then click on the *Fetch Transactions* button.
.. image:: media/online-sync-form-view.png
.. image:: bank_synchronization/online-sync-form-view.png
:align: center
:alt: Online Synchronization Form view
@@ -121,7 +121,7 @@ To do so, go to :menuselection:`Apps --> Update Apps List`, remove the default f
bar and type: **account_online_synchronization**. You can then click on the *Install* button to
install the new module.
.. image:: media/online-sync-module.png
.. image:: bank_synchronization/online-sync-module.png
:align: center
:alt: Installation button of the account_online_synchronization module
@@ -6,7 +6,7 @@ Ponto as bank synchronization provider
place and directly see all their transactions within one app. It is a third-party solution that is
continuously expanding the number of bank institutions that can be synchronized with Odoo.
.. image:: media/ponto-logo.png
.. image:: ponto/ponto-logo.png
:align: center
:alt: Logo of the Ponto brand
@@ -30,7 +30,7 @@ Link your bank accounts with Ponto
#. Create an account if you don't have one yet.
#. Once you are logged in, create an *organization*.
.. image:: media/ponto-organization.png
.. image:: ponto/ponto-organization.png
:align: center
:alt: Fill out the form to add an organization in Ponto.
@@ -39,7 +39,7 @@ Link your bank accounts with Ponto
#. Select your country, your bank institutions, give your consent to Ponto, and follow the steps
on-screen to link your bank account with your Ponto account.
.. image:: media/ponto-add-account.png
.. image:: ponto/ponto-add-account.png
:align: center
:alt: Add bank accounts to your Ponto account.
@@ -57,7 +57,7 @@ Link your Ponto account with your Odoo database
**all the accounts** you want to synchronize. Even the ones coming from other banking
institutions.
.. image:: media/ponto-select-accounts.png
.. image:: ponto/ponto-select-accounts.png
:align: center
:alt: Selection of the accounts you wish to synchronize with Odoo.

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

@@ -6,7 +6,7 @@ Salt Edge as bank synchronization provider
from your bank accounts. It supports ~5000 institutions in more than 50
countries.
.. image:: media/saltedge-logo.png
.. image:: saltedge/saltedge-logo.png
:align: center
:alt: Salt Edge Logo
@@ -30,20 +30,20 @@ Link your bank accounts with Odoo
valid email address, as otherwise, you will not be able to access your Salt Edge
account.
.. image:: media/saltedge-contact-email.png
.. image:: saltedge/saltedge-contact-email.png
:align: center
:alt: Email address to provide to Salt Edge for the creation of your account.
#. After entering your email address, you are redirected to Salt Edge to continue
the synchronization process.
.. image:: media/saltedge-login-page.png
.. image:: saltedge/saltedge-login-page.png
:align: center
:alt: Salt Edge Login page.
#. Make sure you give your consent by checking the consent checkbox.
.. image:: media/saltedge-give-consent.png
.. image:: saltedge/saltedge-give-consent.png
:align: center
:alt: Salt Edge give consent page.
@@ -25,14 +25,14 @@ select :menuselection:`Configuration --> Settings`.
Your chart of accounts will be pre-installed depending on the country
specified during your registration, it cannot be changed.
.. image:: media/interbank04.png
.. image:: interbank/interbank04.png
:align: center
The default transfer account will automatically be generated as well
depending on your country's legislation. If necessary it can be modified
from the same page.
.. image:: media/interbank05.png
.. image:: interbank/interbank05.png
:align: center
Create a second bank account / Journal
@@ -44,12 +44,12 @@ our accounting dashboard. To do so enter the accounting module, click on
fill in the **Account Number**. You can also create and edit your bank to
specify your bank's details.
.. image:: media/interbank03.png
.. image:: interbank/interbank03.png
:align: center
By saving the changes you now have 2 bank accounts.
.. image:: media/interbank06.png
.. image:: interbank/interbank06.png
:align: center
Register an internal transfer from one bank to another.
@@ -65,7 +65,7 @@ The first step is to register the internal payment. To do so go into
your accounting dashboard, click on the **more** button of one of your banks
and select :menuselection:`New --> Internal transfer`.
.. image:: media/interbank01.png
.. image:: interbank/interbank01.png
:align: center
Create a new payment. The payment type will automatically be set to
@@ -76,7 +76,7 @@ internal transfer. Select the **Bank** you want to transfer to, specify the
The memo is important if you wish to automatically reconcile (see `Import bank statements and
reconcile`_).
.. image:: media/interbank02.png
.. image:: interbank/interbank02.png
:align: center
Save and confirm the changes to register the payment.
@@ -91,7 +91,7 @@ Import bank statements and reconcile
Note that the bank balance computed by Odoo is different that the last
statement of your bank.
.. image:: media/interbank11.png
.. image:: interbank/interbank11.png
:align: center
That is because we did not import the bank statement confirming the
@@ -100,7 +100,7 @@ bank statement and reconcile the payment with the correct bank statement
line. Once you receive your bank statements click the **new statement**
button of the corresponding bank to import them.
.. image:: media/interbank07.png
.. image:: interbank/interbank07.png
:align: center
Fill in your **Transactions line**. Once done, Odoo will display a **Computed
@@ -108,19 +108,19 @@ Balance**. that computed balance is the theorical end balance of your
bank account. If it's corresponding to the bank statement, it means that no errors were
made. Fill in the **Ending balance** and click on the **Reconcile** button.
.. image:: media/interbank10.png
.. image:: interbank/interbank10.png
:align: center
The following window will open:
.. image:: media/interbank09.png
.. image:: interbank/interbank09.png
:align: center
You need to choose counterparts for the payment. Select the correct
bank statement line corresponding to the payment and click on the
**reconcile** button. Close the statement to finish the transaction
.. image:: media/interbank08.png
.. image:: interbank/interbank08.png
:align: center
The same steps will need to be repeated once you receive your second
@@ -128,5 +128,5 @@ bank statement. Note that if you specify the same amount and the
same memo in both bank statements and payment transactions then the
reconciliation will happen automatically.
.. image:: media/interbank12.png
.. image:: interbank/interbank12.png
:align: center

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Before

Width:  |  Height:  |  Size: 9.4 KiB

After

Width:  |  Height:  |  Size: 9.4 KiB

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Before

Width:  |  Height:  |  Size: 7.9 KiB

After

Width:  |  Height:  |  Size: 7.9 KiB

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

Before

Width:  |  Height:  |  Size: 4.9 KiB

After

Width:  |  Height:  |  Size: 4.9 KiB

Before

Width:  |  Height:  |  Size: 8.0 KiB

After

Width:  |  Height:  |  Size: 8.0 KiB

Before

Width:  |  Height:  |  Size: 9.4 KiB

After

Width:  |  Height:  |  Size: 9.4 KiB

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Before

Width:  |  Height:  |  Size: 8.6 KiB

After

Width:  |  Height:  |  Size: 8.6 KiB

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

@@ -35,7 +35,7 @@ When you are reconciling an entry with an *Open Balance*, you can use the button
the *Manual Operations* tab to pre-fill all the values automatically, before validating the
reconciliation. Each button is a different Reconciliation Model.
.. image:: media/reconciliation_models_button.png
.. image:: reconciliation_models/reconciliation_models_button.png
:align: center
:alt: Example of a Reconciliation Model with a write-off button in Odoo Accounting
@@ -47,7 +47,7 @@ Suggest counterpart values
This type of Reconciliation Model suggests immediately counterpart values that only need to be
validated. This automation is based on a set of rules defined in the reconciliation model.
.. image:: media/reconciliation_models_suggestion.png
.. image:: reconciliation_models/reconciliation_models_suggestion.png
:align: center
:alt: Example of a Reconciliation Model that suggests counterpart values in Odoo Accounting
@@ -60,7 +60,7 @@ This type of Reconciliation Model automatically selects the right Customer Invoi
that matches the payment. All that is left to do is to validate the entry. This automation is based
on a set of rules defined in the reconciliation model.
.. image:: media/reconciliation_models_match.png
.. image:: reconciliation_models/reconciliation_models_match.png
:align: center
:alt: Example of a Reconciliation Model that matches existing invoices and bills automatically
in Odoo Accounting
@@ -73,7 +73,7 @@ Reconciliation --> Reconciliation Models`. Alternatively, you can also open this
Accounting Overview, by going to your Bank Journal card, clicking on the three little dots, and then
on *Reconciliation Models*.
.. image:: media/reconciliation_models_overview.png
.. image:: reconciliation_models/reconciliation_models_overview.png
:align: center
:alt: Open the Reconciliation Model menu from the overview dashboard in Odoo Accounting
@@ -106,7 +106,7 @@ Define here all the conditions that are required for a Reconciliation Model to b
will be applied. The sequence is simply the order of the models in the *list view*. They can be
rearranged by dragging-and-dropping the handle next to the name.
.. image:: media/reconciliation_models_conditions.png
.. image:: reconciliation_models/reconciliation_models_conditions.png
:align: center
:alt: Conditions for the Reconciliation Model to be applied in Odoo Accounting
@@ -118,7 +118,7 @@ This section comprises the values that are applied by the Reconciliation Model.
If the value to reconcile needs to be written-off in two separate accounts, click on *Add a second
line*.
.. image:: media/reconciliation_models_counterparts.png
.. image:: reconciliation_models/reconciliation_models_counterparts.png
:align: center
:alt: Counterparts values of a Reconciliation Model in Odoo Accounting
@@ -18,7 +18,7 @@ Configuration
No special configuration is necessary to record invoices. All we need
to do is to install the accounting app.
.. image:: media/use01.png
.. image:: use_cases/use01.png
:align: center
Use cases
@@ -39,20 +39,20 @@ customer.
Our customer send us a payment confirmation. We can thus register a
payment and mark the invoice as paid.
.. image:: media/use02.png
.. image:: use_cases/use02.png
:align: center
By clicking on **register payment,** we are telling Odoo that our
customer has paid the Invoice. We thus have to specify the amount and the
payment method.
.. image:: media/use03.png
.. image:: use_cases/use03.png
:align: center
Now we can always find the payment details in the Invoice by clicking on the
:menuselection:`Info --> Open Payment`.
.. image:: media/use04.png
.. image:: use_cases/use04.png
:align: center
The invoice has been paid and **the reconciliation has been done
@@ -64,7 +64,7 @@ Case 2: Bank statements reconciliations
We start at our issued Invoice of 3000 euros for Smith & Co. Let's also
assume that other Invoices are open for different customers.
.. image:: media/use05.png
.. image:: use_cases/use05.png
:align: center
We receive our bank statement and find that not only the invoice issued to Smith & Co has
@@ -73,18 +73,18 @@ been paid, but the one to Buzz of 92 euros as well.
**Import** or **Create** the bank statements. Please refer to the
documents from the Bank Feeds section.
.. image:: media/use06.png
.. image:: use_cases/use06.png
:align: center
On the dashboard, click on **Reconcile # Items**
.. image:: media/use07.png
.. image:: use_cases/use07.png
:align: center
If everything was right (correct partner name, right amount) odoo will
do the reconciliations **automatically**.
.. image:: media/use08.png
.. image:: use_cases/use08.png
:align: center
If some issues are found, you will need to take **manual actions**.
@@ -92,13 +92,13 @@ If some issues are found, you will need to take **manual actions**.
For example, if the partner is missing from your bank statement, just
fill it in :
.. image:: media/use09.png
.. image:: use_cases/use09.png
:align: center
If the payment is done with a down payment, just check if it is all
right and validate all related payments :
.. image:: media/use10.png
.. image:: use_cases/use10.png
:align: center
.. seealso::
@@ -15,7 +15,7 @@ configured to post all entries in a dedicated *Account*.
Every **Bank Journal** is displayed by default on the **Accounting Overview** in the form of a
convenient card. It includes action buttons that are displayed when appropriate.
.. image:: media/bank_accounts_card.png
.. image:: bank_accounts/bank_accounts_card.png
:align: center
:alt: Bank Journals Cards are displayed on the Accounting Overview in Odoo Accounting
@@ -40,7 +40,7 @@ instructions on-screen.
:doc:`Click here <../../bank/feeds/bank_synchronization>` for more information about this bank
synchronization.
.. image:: media/bank_accounts_connect.png
.. image:: bank_accounts/bank_accounts_connect.png
:align: center
:alt: Select a bank institution in the list and connect it to Odoo Accounting
@@ -66,7 +66,7 @@ To add a new bank account manually, go to :menuselection:`Accounting --> Configu
.. note::
Odoo detects the bank account type (e.g., IBAN) and enables some features accordingly.
.. image:: media/bank_accounts_manual.png
.. image:: bank_accounts/bank_accounts_manual.png
:align: center
:alt: Add manually a new bank account in Odoo Accounting
.. _bank_accounts_configuration:
@@ -85,7 +85,7 @@ Account Holder, Account Holder Name, and your Bank Institution's details by clic
You can configure which types of payments are enabled in the **Payment Method Types** section and
how the bank statements are recorded and posted in the **Bank Statements** section.
.. image:: media/bank_accounts_configuration.png
.. image:: bank_accounts/bank_accounts_configuration.png
:align: center
:alt: Advanced configuration of a bank account in Odoo Accounting
@@ -43,7 +43,7 @@ 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
.. image:: foreign_currency/foreign01.png
:align: center
Click on the **Update Now** link to update the currency rates now.
@@ -54,7 +54,7 @@ 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
.. image:: foreign_currency/foreign02.png
:align: center
Once you save this bank account, Odoo will create all the documents for
@@ -75,13 +75,13 @@ from a supplier in China.
In the :menuselection:`Purchase --> Vendor Bills` , this is what you could see:
.. image:: media/foreign03.png
.. image:: foreign_currency/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
.. image:: foreign_currency/foreign04.png
:align: center
That's all you have to do. Odoo will automatically post the foreign
@@ -103,7 +103,7 @@ 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
.. image:: foreign_currency/foreign05.png
:align: center
In the above report, the account receivable associated to Camptocamp is

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 5.2 KiB

@@ -8,7 +8,7 @@ It calculates the total money in and out, computing the total balance.
Configuration
=============
.. image:: ./media/journal.png
.. image:: manage_cash_register/journal.png
:align: center
1. Configure the Cash journal in :menuselection:`Accounting --> Configuration -->
@@ -40,7 +40,7 @@ Put money in is used to placed your cash manually before starting your
transactions. From the Register Transactions window, go to :menuselection:`More
--> Put money in`
.. image:: ./media/put-money-in.png
.. image:: manage_cash_register/put-money-in.png
:align: center
Take money out
@@ -50,7 +50,7 @@ Take money out is used to collect/get yor your cash manually after
ending all your transactions. From the Register Transaction windows, go to :menuselection:`More
--> Take money out`
.. image:: ./media/put-money-out.png
.. image:: manage_cash_register/put-money-out.png
:align: center
The transactions will be added to the current cash payment registration.

Before

Width:  |  Height:  |  Size: 5.9 KiB

After

Width:  |  Height:  |  Size: 5.9 KiB