Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
6719 Widoki

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?

Awatar
Odrzuć
Najlepsza odpowiedź

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 

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
paź 22
2619
2
maj 20
4825
2
lis 18
4200
3
mar 15
4636
3
lis 24
3260