In my custom module i added account_payment_id in res_partner from Bill Fourm when i add new line from invoice_line_ids automatic add in line_ids example line_ids {
'account_id': account_payment_id,
'depit' : 100,
'credit': 0
}
without reflect on invoice_line_ids ,
Any body can give me solution for this