[FIX] rdtraining: remove outdated line about journal_id in chapter 14

In chapter 14 there was a line pointing to how to deduce a default journal for an `account.move` record.
This is no longer needed as the journal is automatically deduced using the `move_type`. Also, the link
point to an outdated line of code that causes an error.

closes odoo/documentation#3179

X-original-commit: 67a75a3e11
Signed-off-by: Horacio Tellez Perez (hote) <hote@odoo.com>
This commit is contained in:
Horacio Tellez 2022-12-09 14:56:42 +00:00
parent 594f052a2b
commit 3c9b87be30

View File

@ -111,8 +111,6 @@ This is enough to create an empty invoice.
- the ``partner_id`` is taken from the current ``estate.property``
- the ``move_type`` should correspond to a 'Customer Invoice'
- the ``journal_id`` must be a ``sale`` journal (when in doubt, have a look
`here <https://github.com/odoo/odoo/blob/f1f48cdaab3dd7847e8546ad9887f24a9e2ed4c1/addons/sale/models/sale.py#L534>`__)
Tips: