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

Potential lost data on account payment order migration #1363

Open
2 tasks
lorenzoallegrucci opened this issue Oct 1, 2024 · 1 comment
Open
2 tasks

Potential lost data on account payment order migration #1363

lorenzoallegrucci opened this issue Oct 1, 2024 · 1 comment
Labels

Comments

@lorenzoallegrucci
Copy link

Module

account_payment_order

Describe the bug

After this commit 4c9020f
account_payment records are not created due for account payment state not in ('uploaded', 'done') loosing data!!

The same problem is on 14->15 migration:
https://github.com/OCA/bank-payment/blob/15.0/account_payment_order/migrations/15.0.2.0.0/post-migration.py#L35

To Reproduce

Affected versions:

  • 14.0
  • 15.0

Steps to reproduce the behavior:

  1. migrate from <= 13.0 to >= 14.0

Expected behavior
not loosing data

Additional context
Add any other context about the problem here. (e.g. OS, Python version, ...)

@lorenzoallegrucci
Copy link
Author

@etobella can you explain better this critical commit 4c9020f ?
Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant