Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
6791 Ansichten

I am creating invoices programmatically in Odoo12 all everything is going well but there is a problem in invoice which is partially paid i.e. In-Payment because its residual is not calculating.

I am trying to calculate Amount Due but all nothing happened. While creating invoice I am assigning value to 

Example:

self.env['account.invoice'].create({

'residual': my_balance_field

})

Any help, any guidance?

Avatar
Verwerfen
Beste Antwort

You must assign the payment to the invoice. 
If you register payment from the invoice, it is done automatic. Else: Open the payment an access invoice matching, or go to accounting reconciliation 

Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
1
Okt. 22
2677
2
Mai 20
4886
2
Nov. 18
4280
3
März 15
4709
3
Nov. 24
3363