Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
6783 Vues

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
Ignorer
Meilleure réponse

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
Ignorer
Publications associées Réponses Vues Activité
1
oct. 22
2674
2
mai 20
4880
2
nov. 18
4279
3
mars 15
4704
3
nov. 24
3353