Skip to Content
Menú
This question has been flagged
1 Respondre
6705 Vistes

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
Descartar
Best Answer

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
Descartar
Related Posts Respostes Vistes Activitat
1
d’oct. 22
2615
2
de maig 20
4806
2
de nov. 18
4186
3
de març 15
4629
3
de nov. 24
3249