Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
6713 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
říj 22
2616
2
kvě 20
4819
2
lis 18
4189
3
bře 15
4635
3
lis 24
3254