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
Post Invoice with lines with mulltiple Sale lines #77028
Comments
How can you create Invoice (One Invoice Line) for multiple Sale lines through UI ? |
How can you create Invoice (One Invoice Line) for multiple Sale lines through UI ?
Using xml rpc request
|
Added Fix #77195 |
sswapnesh
added a commit
to sswapnesh/odoo
that referenced
this issue
Oct 5, 2021
Steps: - Create AML which is linked to multiple Down payment SO lines - Post Invoice Issue: - Traeback due to accessing field on m2m `sale_line_ids` field Fix: - Filter the SO lines based on `is_downpayment` field. Fixes: odoo#77028
This was referenced Jan 30, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Impacted versions: 14.0
Steps to reproduce: Create an Invoice with one line that links multiple Sale Order Lines and try to post this invoice
Current behavior: Failure
Expected behavior: Post the Invoice
The issue come from addons/sale/models/account_move.py:15
This call
is_downpayment
on a Many2Many fields that here links to multiple Sale Order Lines.Something that works :
This check if all SaleOrderLine are downpayments but I'm not sure this is the best way to do this.
The text was updated successfully, but these errors were encountered: