odoo/odoo#67012
Created by Nicolas Marcotte (nie)
Merged
at 7c6d06fa5858f79f3b22cdeaf74cdc26a642742f
Statuses:
- legal/cla: Contributor License Agreement check
- ci/runbot: Odoo Test Suite
- ci/template: Install databases to use to test upgrade in master and ensure that upgrades works with current master.
- ci/style: Optional style check. Ignore it only if strictly necessary.
- ci/security: Required security check. Can only be ignored by security team.
- label
- odoo-dev:13.0-link-invoice-to-transaction-with-link-nie
- head
- 22c5aabd74be9f3b17038a6563d60c4f7b2a7505
- merged
- 4 years ago by Bugfix, Nicolas Lempereur (nle)
odoo/odoo | |
---|---|
13.0 | #67012 |
14.0 | #67289 |
saas-14.1 | #67293 |
saas-14.2 | #67295 |
15.0 | |
16.0 | |
17.0 | |
18.0 | |
saas-18.1 | |
saas-18.2 | |
saas-18.3 | |
saas-18.4 | |
master | #67296 |
[FIX] payment: link transaction to invoice with payment link
Steps:
- Install account,payment
- Go to Invoicing
- Create an invoice
- Click Actions > Generate a Payment Link
- Follow the generated link
- Pay
Bug:
The transaction is not linked to the sale order in the link table
account_invoice_transaction_rel
Explanation:
This fix is broadly mimicking the behavior of the sales module regarding
the link of an order to a transaction, adding invoice_id
s where they
are needed throughout the payment process in order to link the
transaction to the invoice.