-
-
Notifications
You must be signed in to change notification settings - Fork 533
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[IMP] account_payment_order: Set orders to done on payment reconciliation #860
[IMP] account_payment_order: Set orders to done on payment reconciliation #860
Conversation
What I want to move is:
|
your message is about 14, right? |
It can be done as well in v13, but yes, one missing thing in this version is to respect the define transfer account. |
But yes, for v12 I don't think it's possible. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewing the PR, this can be complementary to what I'm talking about, so OK for me.
03bd82a
to
f7253cf
Compare
9b5adaf
to
7b0940a
Compare
I see the code is already in process of being merged, hence my feedback comes a bit late: |
It's still time for comments, Luc, as no merge command has been launched. I think the reconcile cancel logic is OK, as long as after reconciling again, it turns again to "Done" status, which is what seems to happen. |
yes, when you reconcile those move lines again the state goes back to done. @luc-demeyer would you be satisfied by a test that proves this? |
@hbrunn @pedrobaeza |
thanks for the point of view of the accountant. Is everyone on board with removing the unreconcile functionality and adding 752da9a here? |
In my country, it's not possible to edit a sent SEPA order, and if it's the case, as you have said: you have the manual done button to set it again as done. I'm against removing such part, as it's the way to control things. Invoices work this way as well, removing its paid state when unreconciling. |
@luc-demeyer @pedrobaeza @hbrunn From a functional point of view, I agree with Luc Demeyer. Undoing a reconciliation should never reopen a payment order. A reconciliation can be undone for different reasons, but IMHO should never lead to reopening a payment order. |
now two people for don't mess with the state on unreconcile and two against. @StefanRijnhart would you care to break the tie? |
@hbrunn I believe that in the case that the transfer move of a payment order is unreconciled after it was first reconciled it does not mean that the payment order is not done. I can only see this happen as a temporary, administrative situation so I tend to go with Luc and Els. Pedro's argument about the analogy with reopened invoices rings true on the technical level yet at the same time it will be much more common to have multiple invoices with the same amount, even for the same customer, than it is to have payment orders of the same amount so it makes much more sense to have this behaviour for invoices, but maybe not for payment orders. |
Ok, you have one vote more for the no state modification on unreconciling after Stefan's argumentation. |
80be36b
to
49e1aab
Compare
now without reopening on unreconciliation. Thanks everyone involved! |
49e1aab
to
e00f7bb
Compare
This PR has the |
/ocabot merge nobump |
This PR looks fantastic, let's merge it! |
Congratulations, your PR was merged at e6b3aea. Thanks a lot for contributing to OCA. ❤️ |
The merge of OCA/bank-payment#860 and later current CI failing has revealed that this module is repeating tests that has nothing to do with the feature it contains, so we lighten up for testing what is needed.
The merge of OCA/bank-payment#860 and later current CI failing has revealed that this module is repeating tests that has nothing to do with the feature it contains, so we lighten up for testing what is needed.
The merge of OCA/bank-payment#860 and later current CI failing has revealed that this module is repeating tests that has nothing to do with the feature it contains, so we lighten up for testing what is needed.
The merge of OCA/bank-payment#860 and later current CI failing has revealed that this module is repeating tests that has nothing to do with the feature it contains, so we lighten up for testing what is needed.
The merge of OCA/bank-payment#860 and later current CI failing has revealed that this module is repeating tests that has nothing to do with the feature it contains, so we lighten up for testing what is needed.
The merge of OCA/bank-payment#860 and later current CI failing has revealed that this module is repeating tests that has nothing to do with the feature it contains, so we lighten up for testing what is needed.
The merge of OCA/bank-payment#860 and later current CI failing has revealed that this module is repeating tests that has nothing to do with the feature it contains, so we lighten up for testing what is needed.
The merge of OCA/bank-payment#860 and later current CI failing has revealed that this module is repeating tests that has nothing to do with the feature it contains, so we lighten up for testing what is needed.
The merge of OCA/bank-payment#860 and later current CI failing has revealed that this module is repeating tests that has nothing to do with the feature it contains, so we lighten up for testing what is needed.
@luc-demeyer @pedrobaeza this is the close orders on reconciliation PR. But I don't really get what you mean in point 2 of #784 (comment) - isn't this in terms of reconciliation the same, just with a different account?
When all is ironed out here, this should be very simple to port to 13 and 14