-
-
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
[16.0] account_payment_partner: Don't void the bank on account move if no payment mode #1408
Comments
This in order to fix incompatibility with overrides on bank computation on account moves: |
It's the occasion to improve the tests to include the refunds: same for the other direction |
@rousseldenis Answering here for your question on #1183 (comment) It's been some time since I did #1094 but IIRC the idea was not to set But I agree if it's set manually, then the computation shouldn't remove it. |
The problem is some other modules that don't depend on this would fill in the field. We can agree that we should not modify the field if no payment mode is not filled in. |
If no payment mode is set on the account move, the partner bank is voided if already filled in.
https://github.com/OCA/bank-payment/pull/1094/files#diff-560b5e454acd270e25223d56b85967eaec36fe9a08eac999124990650aa32f6cR114
I think this assertion is true for computed fields not stored... :
So, I will do a fix for that
@grindtildeath
The text was updated successfully, but these errors were encountered: