Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
6743 Представления

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 

Аватар
Отменить
Related Posts Ответы Просмотры Активность
1
окт. 22
2652
2
мая 20
4852
2
нояб. 18
4247
3
мар. 15
4665
3
нояб. 24
3298