コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
6774 ビュー

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?

アバター
破棄
最善の回答

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 

アバター
破棄
関連投稿 返信 ビュー 活動
1
10月 22
2667
2
5月 20
4870
2
11月 18
4272
3
3月 15
4695
3
11月 24
3342