-
Notifications
You must be signed in to change notification settings - Fork 23.2k
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
ValueError
when attempting to calculate refundable amount for multiple payments
#165537
Labels
Payment
Payment providers
Comments
vava-odoo
added a commit
to odoo-dev/odoo
that referenced
this issue
May 17, 2024
If you try to retrieve the `amout_available_for_refund` of a recordset of `account.payment`, it raises a traceback because the search domain includes `self.id` where it should be on the record `payment`. Fixes odoo#165537
This was referenced May 21, 2024
Hi @flexadecimal |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
odoo/addons/payment/models/account_payment.py
Line 54 in c7d420b
RecordSet usage error - should be
payment.id
in domain used for search.The text was updated successfully, but these errors were encountered: