Skip to content
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

Fix t1438 list of invoices last payment date is wrong #227

Conversation

minedcp
Copy link
Contributor

@minedcp minedcp commented Jun 19, 2024

fix last payment update when unreconciling

Copy link
Member

@ecino ecino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a script to run in order to fix existing wrong data?

@ecino ecino merged commit d50e02d into CompassionCH:14.0 Jun 20, 2024
1 check failed
@minedcp
Copy link
Contributor Author

minedcp commented Jun 20, 2024

UPDATE account_move
SET last_payment = NULL
WHERE payment_state = 'not_paid';

@minedcp minedcp deleted the FIX-T1438-List-of-invoices-last-payment-date-is-wrong branch June 20, 2024 07:51
ecino pushed a commit that referenced this pull request Aug 27, 2024
* invoice last payment update error fix v1

* invoice last payment correctly upated

---------

Co-authored-by: dcruz <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants