Skip to content

Conversation

@pedrobaeza
Copy link
Member

Forward-port of #1276

Odoo core already includes a mechanism, only activated in enterprise, to mark invoices reconciled against a payment as "In payment", not as "Paid", and then when the bank reconciliation is done, passed to "Paid".

As we already refactored the payment order transfer entries generation to be done by payments, the only missing bits is to override the method that returns the payment state to put.

We have limited this new payment state though to those invoices that are part of a payment order, not all including those which were paid pressing the button "Register payment", as that's out of the scope of this module.

TT49386

@pedrobaeza pedrobaeza added this to the 17.0 milestone Jun 7, 2024
@pedrobaeza pedrobaeza changed the title [IMP] account_payment_order: Mark invoices in a payment order as in payment [17.0][IMP] account_payment_order: Mark invoices in a payment order as in payment Jun 7, 2024
…ayment

Odoo core already includes a mechanism, only activated in enterprise,
to mark invoices reconciled against a payment as "In payment", not as
"Paid", and then when the bank reconciliation is done, passed to "Paid".

As we already refactored the payment order transfer entries generation
to be done by payments, the only missing bits is to override the method
that returns the payment state to put.

We have limited this new payment state though to those invoices that
are part of a payment order, not all including those which were paid
pressing the button "Register payment", as that's out of the scope
of this module.

TT49386
@pedrobaeza pedrobaeza force-pushed the 17.0-imp-account_payment_order-in_payment branch from 592921d to 15bc634 Compare June 7, 2024 08:36
@pedrobaeza
Copy link
Member Author

/ocabot merge minor

@OCA-git-bot
Copy link
Contributor

What a great day to merge this nice PR. Let's do it!
Prepared branch 17.0-ocabot-merge-pr-1285-by-pedrobaeza-bump-minor, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 8de9042 into OCA:17.0 Jul 1, 2024
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at a8ee105. Thanks a lot for contributing to OCA. ❤️

@pedrobaeza pedrobaeza deleted the 17.0-imp-account_payment_order-in_payment branch July 1, 2024 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants