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

[15.0][account_invoice_refund_line_selection] Error in "Down Payment (percentage)" invoices and line_ids #1735

Open
enginulger opened this issue Jun 8, 2024 · 0 comments
Labels

Comments

@enginulger
Copy link

enginulger commented Jun 8, 2024

Problem1:
V15 account_move_reversal.py L55-L75 Sales -> Create Invoice -> Select "Down Payment (percentage)" and create a percentage invoice. Then, when creating a reverse invoice with "Add Credit Note", it gives an error. The line of code causing the error is specified in the link.

Solution1:
V16 account_move_reversal.py L54-L56 replace it with the specified line of code.

========================================================

Problem2:
V15 account_move_reversal.py L76 line_ids can be defined in another module.

Solution2:
"res["line_ids"] = lines"replace with below

if res.get('line_ids',''):
lines += res["line_ids"]
res["line_ids"] = lines

@enginulger enginulger added the bug label Jun 8, 2024
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