Skip to Content
Menu
This question has been flagged
1 Atsakyti
7147 Rodiniai

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?

Portretas
Atmesti
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 

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
1
spal. 22
2948
2
geg. 20
5268
2
lapkr. 18
4559
3
kov. 15
5124
3
lapkr. 24
4501