Skip to content
Snippets Groups Projects
Commit cbd395ec authored by Nikunj Ladava's avatar Nikunj Ladava Committed by Thibault Delavallée
Browse files

[IMP] payment, sale_payment: set invoice id in payment transaction form after...

[IMP] payment, sale_payment: set invoice id in payment transaction form after payment being done from sale order.

Until now invoice_id is filled on the transaction only when we make
payments through invoice. However if we make payments through sale order
then invoice_id is not filled.

This commit fixes that issue. As there is no common point between
sale_payment and account_payment except payment, a void method is added
in payment and an override done in account_payment. That was when both
modules are installed code is correctly triggered.

This commit is related to task ID 1813602. Closes #22746 .
parent b6e0f1ad
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment