Hi everyone!
I have added a new field in invoice_lines and based on that field I want to add a new line in line_ids and also want to update the existing lines (credit and debit fields) based on my condition.
What I'm looking for is a function in Odoo 17 which prepares the move lines so I can update the line_ids with my new line and also balance the jv by updating the credit/debit values.
It would be great if anyone can help me on this.