Files
documentation/content/applications/finance/accounting/payables/supplier_bills/purchase_receipts.rst
T
Antoine Vandevenne (anv) 8722ea902e [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#2068
2022-05-20 14:18:54 +02:00

46 lines
1.7 KiB
ReStructuredText

=================
Purchase receipts
=================
**Purchase Receipts** are not invoices but rather confirmations of received payments, such as a
ticket or a receipt.
This feature is meant to be used when you pay directly with your company's money for an expense.
**Vendor Bills**, on the other hand, are recorded when an invoice is issued to you and that the
amount is first credited on a debt account before a later payment reconciliation.
.. note::
Expenses paid by employees can be managed with **Odoo Expenses**, an app dedicated to the
approval of such expenses and the payments management. Click :doc:`here
</applications/finance/expenses>` for more information on how to use Odoo Expenses.
Register a receipt
==================
To record a new receipt, go to :menuselection:`Accounting --> Vendors --> Receipts`, click on
*Create*, fill out the form, and click on *Post*.
.. image:: purchase_receipts/purchase_receipts_draft.png
:align: center
:alt: Fill out the draft purchase receipt in Odoo Accounting
You can register the payment by clicking on *Register Payment*, then filling out the payment's
details, and clicking on *Validate*.
Edit the Journal Entry before posting it
========================================
Once you have filled out the *Invoice Lines* tab, you can modify the **Journal Entry** before you
post it.
To do so, click on the **Journal Items** tab, change the accounts and values according to your
needs, and click on *Post*.
.. image:: purchase_receipts/purchase_receipts_journal_items.png
:align: center
:alt: Change the accounts used in the journal entry to record a purchase receipt.
.. seealso::
- :doc:`manage`
- :doc:`/applications/finance/expenses`