Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2 Replies
6295 Tampilan

How can I get amount due of a partner using credit and debit?

Avatar
Buang

In enterprise or community?

Jawaban Terbai

Hi,

In the res.partner model by default you have two fields credit and debit which compute the Total Receivable and Payable of the partner. 

Either you can use those fields as such or refer the compute function of those fields. Function name _credit_debit_get in res.partner model.

You  can see it in this path: https://github.com/odoo/odoo/blob/12.0/addons/account/models/partner.py

Thanks

Avatar
Buang
Penulis

Thanks a lot for this info.

Post Terkait Replies Tampilan Aktivitas
0
Mar 15
3755
0
Feb 20
4421
0
Des 19
3580
1
Jul 19
7866
0
Mei 24
1205